Or perhaps the immutible flag set on /etc/passwd by default and have vipw
and adduser (un)set this automagically when used.

 - Mike


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> >> (10.21.2002 @ 1514 PST): Bsd Neophyte said, in 0.8K: <<
> > 
> > --- "DaleCo, S.P.---'the solutions people'" <[EMAIL PROTECTED]> wrote:
> > > Do you have a passwd for "toor"?
> > 
> > no... i don't... 
> >> end of "Re: made a mistake with bash path... now i can't login" from Bsd N
> eophyte <<
> 
> if you're going to edit your passwd file and change shells or whatnot,
> use the vipw command. if you specify an invalid shell, vipw will tell
> you.
> 
> perhaps it'd be useful to have "don't edit this directly - use vipw(8)"
> at the top of /etc/passwd...
> 
> - -Adam
> 
> 
> - --
> Adam Weinberger
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.0 (FreeBSD)
> 
> iD8DBQE9tILMo8KM2ULHQ/0RAhKPAJ9H7At4KqTygsjZjKi01lXRRucLjACbBAGX
> H53fjFExlu+UHXkKJQW2/dc=
> =cvM+
> -----END PGP SIGNATURE-----
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to