Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2002 15:55:00 -0700
From:      Mike Hogsett <hogsett@csl.sri.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: made a mistake with bash path... now i can't login 
Message-ID:  <200210212255.g9LMt01J061807@axp.csl.sri.com>
In-Reply-To: Message from Adam Weinberger <adamw@FreeBSD.ORG>  of "Mon, 21 Oct 2002 15:42:20 PDT." <20021021224220.GA41990@vectors.cx> 

next in thread | previous in thread | raw e-mail | index | archive | help

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'" <daleco@daleco.biz> 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
> adam@vectors.cx
> adamw@FreeBSD.ORG
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.0 (FreeBSD)
> 
> iD8DBQE9tILMo8KM2ULHQ/0RAhKPAJ9H7At4KqTygsjZjKi01lXRRucLjACbBAGX
> H53fjFExlu+UHXkKJQW2/dc=
> =cvM+
> -----END PGP SIGNATURE-----
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210212255.g9LMt01J061807>