Re: /etc/passwd doesnt contain all users
Quoting Colin Watson (cjwatson@debian.org):
> On Mon, Dec 23, 2002 at 02:08:40PM -0500, Matt Zimmerman wrote:
> > Though now that I think about it, there is really very little reason
> > to check for the existence of a user at all. Most packages should be
> > using adduser, which will do the right thing if the user already
> > exists.
>
> Oh, it will? Excellent. I have a few maintainer scripts to simplify
> then.
And when you do so, please make sure that you don't simply grab
any uid.....
It is a major hustle to resynchronize uids between machines that
use NIS. It is really fun when you share filesystems and your
machines think that the files belong to different (system) users.
It is very funny, when this happens to your sendmail for
example...
Cheers
Mike
--
---------------------------------------------------------------------
Michael Neuffer Phone: +49 6131 540117
Zum Schiersteiner Grund 2 Fax: +49 6131 477288
55127 Mainz Mobile: +49 171 1406664
Germany Mail: neuffer@neuffer.info
GPG: 1024D/2A4697BD BC50 E6C6 42F8 144D 8794 E889 FA58 F882 2A46 97BD
---------------------------------------------------------------------
Reply to: