From owner-freebsd-questions Thu Dec 2 14:25:31 1999 Delivered-To: freebsd-questions@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [36.33.0.163]) by hub.freebsd.org (Postfix) with ESMTP id C3CF314BD7 for ; Thu, 2 Dec 1999 14:25:23 -0800 (PST) (envelope-from andrsn@andrsn.Stanford.EDU) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.9.3/8.9.1) with ESMTP id OAA13079; Thu, 2 Dec 1999 14:23:09 -0800 (PST) Date: Thu, 2 Dec 1999 14:23:09 -0800 (PST) From: Annelise Anderson To: Jonathon McKitrick Cc: Phil Homewood , Alfred Perlstein , freebsd-questions@FreeBSD.ORG Subject: Re: root shell/toor shell In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG vipw, as someone said. With this you can insert a shell for toor; it does seem (my apologies) that in recent incarnations FreeBSD ships with a blank for toor's shell. My 3.3 installation from cdrom is that way, and so is my -current /usr/src/etc/master.passwd. The result for me is that I can't use the toor account at all in that condition. passwd is the command you want to change the password, though. Yes, reinstalling is a last resort. An alternative is to create another regular user with default dot files, and find out if the behavior in that account is different from your usual login user. That would indicate a difference in what files were getting read on login or what was in them. Annelise On Thu, 2 Dec 1999, Jonathon McKitrick wrote: > Well, using chsh from toor tells me i am actually editing the root > password entry. The /etc/shells has 4 shells listed, all in their proper > places. But i still cannot seem to edit toor's entry. In /etc/passwd, > the entry and password for toor is different. But for the login shell, > the entry is blank. I assum it uses the one for root here, and that may > be the problem. Isn't there command i have to run if i decide to edit > /etc/passwd directly? > > > On Thu, 2 Dec 1999, Annelise Anderson wrote: > > >You have two choices. > > > > 1) Investigate your files to find out what's going on. > >Look at your password file, /etc/shells, all your dot files, and > >all the shells themselves, and your environmental variables. > >Somewhere something's set up or aliased or linked or something. > >Figure it out. > > > > 2) Reinstall. > > > >Annelise > > > >On Thu, 2 Dec 1999, Jonathon McKitrick wrote: > > > >> This is really irritating. I am logging in from a clear terminal screen > >> (not using su) and i changed the shell for toor. When i logged in as > >> root, that shell was also changed. > >> > >> > >> -jm > >> > >> ------------------ > >> Bayliss: "And that's another thing... > >> you never say 'please' and 'thank you.'" > >> > >> Pendleton: "Please stop being an idiot. Thank you." > >> > > > > > > > -jm > > ------------------ > Bayliss: "And that's another thing... > you never say 'please' and 'thank you.'" > > Pendleton: "Please stop being an idiot. Thank you." > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message