Passwd file merge

From: Steven Hill (sunmanagers@waroffice.net)
Date: Mon Mar 24 2003 - 09:48:31 EST


Umm, before I reinvent the wheel, do any of you guys have a script that
will merge a file containing a bunch of lines from a *nix passwd file in
to a real live passwd file?

In theory, I have a file spat out by something that just contains the
changes to passwd on system1 from yesterday. It needs to either replace a
line in the passwd file on system2, if it is an existing user, or add a
new line (preferably checking for UID collision) if it is a new user.

No, NIS is not an option, before you ask :-)

Cheers.

-- 
Steven Hill
``Libenter homines id quod volunt credunt''
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:03 EDT