From owner-freebsd-questions Mon Oct 21 15:55: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAF7037B404 for ; Mon, 21 Oct 2002 15:55:07 -0700 (PDT) Received: from casper.sri.com (casper.SRI.COM [128.18.243.12]) by mx1.FreeBSD.org (Postfix) with SMTP id D82B143E6E for ; Mon, 21 Oct 2002 15:55:06 -0700 (PDT) (envelope-from hogsett@csl.sri.com) Received: (qmail 15368 invoked from network); 21 Oct 2002 22:58:50 -0000 Received: from localhost (HELO casper.SRI.COM) (127.0.0.1) by casper.sri.com with SMTP; 21 Oct 2002 22:58:50 -0000 Received: from quarter.csl.sri.com ([130.107.1.30]) by casper.SRI.COM (NAVGW 2.5.2.17) with SMTP id M2002102115585031345 for ; Mon, 21 Oct 2002 15:58:50 -0700 Received: from axp.csl.sri.com (axp.csl.sri.com [130.107.2.30]) by quarter.csl.sri.com (8.12.4/8.12.4) with ESMTP id g9LMt0nr000668 for ; Mon, 21 Oct 2002 15:55:00 -0700 Received: from axp.csl.sri.com (localhost [127.0.0.1]) by axp.csl.sri.com (8.12.6/8.12.3) with ESMTP id g9LMt01J061807 for ; Mon, 21 Oct 2002 15:55:00 -0700 (PDT) (envelope-from hogsett@axp.csl.sri.com) Message-Id: <200210212255.g9LMt01J061807@axp.csl.sri.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: made a mistake with bash path... now i can't login In-Reply-To: Message from Adam Weinberger of "Mon, 21 Oct 2002 15:42:20 PDT." <20021021224220.GA41990@vectors.cx> Mime-Version: 1.0 (generated by tm-edit 8.8 (Time Passed Me By)) Content-Type: text/plain; charset=US-ASCII Date: Mon, 21 Oct 2002 15:55:00 -0700 From: Mike Hogsett Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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'" 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