Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* export/import users/passwd list
@ 2002-07-24 10:15 Matt Palmer
  2002-07-28 20:02 ` Quarter Horseman
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Palmer @ 2002-07-24 10:15 UTC (permalink / raw)


Hi,

does anyone know if it is possible to export the user accounts from
one host running T64 5.1 and then import them into T64 5.1a?

the reason I ask is that I have to mirror the user configuration at 2
sites, but there are 500+ users, so I would prefer not to have to
enter manually if there is an alternative.

thanks in advance 


Matt


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: export/import users/passwd list
  2002-07-24 10:15 export/import users/passwd list Matt Palmer
@ 2002-07-28 20:02 ` Quarter Horseman
  2002-07-29  8:35   ` Emmanuel Choquet
  0 siblings, 1 reply; 3+ messages in thread
From: Quarter Horseman @ 2002-07-28 20:02 UTC (permalink / raw)


I never tried this myself, but I did some Sybase work for a guy once
who took my entry from an existing (production) system's passwd file
and copied it to the Sybase system under test, and I was able to log
into that system using the same username/password I was using on the
production system.  I thought he'd guessed my password until he told
me what he did.

FWIW......... maybe someone else will hop in with a more-authoritative
answer.

QH


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: export/import users/passwd list
  2002-07-28 20:02 ` Quarter Horseman
@ 2002-07-29  8:35   ` Emmanuel Choquet
  0 siblings, 0 replies; 3+ messages in thread
From: Emmanuel Choquet @ 2002-07-29  8:35 UTC (permalink / raw)


No problem assuming there is no uid and or gid conflict.

You'll obviously have to transfert /etc/group as well -and therefore
check possible conflict on groups-.

if you have a uid conflict, actually it will still work, ls -al will
only show up the first username associated to the uid in the
/etc/passwd file, IE only the uid/gid numbers are stored in the inode
security stuff. BTW if you use ACLs, I do not know the behavior, but
you probably do not use them.

using some filter -awk ?- you can creates all hierachies properly as
well.

Another way is to setup a NIS domain between both, master source and
slave for the target. This should be a better practice if you have
some system accounts conflict, and/or if you wish to continue to use
both systems in parallel for a while.

Emmanuel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-07-29  8:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-24 10:15 export/import users/passwd list Matt Palmer
2002-07-28 20:02 ` Quarter Horseman
2002-07-29  8:35   ` Emmanuel Choquet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox