[NBLUG/talk] Integrating usernames/passwords
Todd Cary
todd at aristesoftware.com
Fri Apr 1 07:01:33 PST 2005
If one was responsible for, lets say, 1,000 users and wanted to move the
users to another machine, how can one just add those that are not
already in the destination machine?
For example, we have the online machine, "A", and the new machine, "B".
pwunconv and grunconv has been run on /etc/passwd and /etc/group, so the
task is to add those usernames in the /etc/passwd file on "A" that are
not in /etc/passwd on "B" (off course, the shasow files would be
recreated after this is completed).
Will this approach work and is there a script available that checks to
see if a username is in the destination and if not, will copy it into
the destination? It has been many years since I wrote some Perl
scripts, but I would imagine that with Perl this would be a piece of cake.
Todd
More information about the talk
mailing list