From owner-freebsd-questions Tue Feb 13 11:43:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from squid.tznet.com (www.jwenning.com [206.31.5.7]) by hub.freebsd.org (Postfix) with ESMTP id 5339037B491 for ; Tue, 13 Feb 2001 11:43:18 -0800 (PST) Received: from localhost (tech@localhost) by squid.tznet.com (8.11.2/8.11.2) with ESMTP id f1DJLnj25765; Tue, 13 Feb 2001 13:21:49 -0600 (CST) Date: Tue, 13 Feb 2001 13:21:49 -0600 (CST) From: Scott Pilz To: Greg Black Cc: freebsd-questions@freebsd.org Subject: Re: Error - Shells 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 On Wed, 14 Feb 2001, Greg Black wrote: > Scott Pilz wrote: > > > On Tue, 13 Feb 2001, Greg Black wrote: > > > > > Scott Pilz wrote: > > > > > > > Error: > > > > pwd_mkdb: warning, unknown root shell > > > > > > You need to put the full pathname of the replacement shell in > > > /etc/shells -- if it's a bash script called /tmp/foo, then you > > > put /tmp/foo in /etc/shells, not /usr/local/bin/bash (unless you > > > also want people to use bash as their shell). > > > > Hrrm.. But like I said, I have both: > > /usr/local/bin/bash > > /usr/local/bin/shell > > Is "/usr/local/bin/shell" the name you have in the shell field > in the master.passwd file and in /etc/shells? It's hard to > believe that you would get the warning unless you've made a typo > somewhere. > Checked, and re-checked just now. master.passwd was changed by using chpass root . . . That shell was changed to /usr/local/bin/shell In /etc/shells, it lists both /usr/local/bin/bash and /usr/local/bin/shell ... This is, really confusing, that is for sure. I assumed right away that it was because of the above problem (with /etc/shells) however apparently it is not. At any rate, I wanted to say that I did bypass this, I found another way to do what I needed to do sometime this morning, so it's been taken care of. Thanks again. -Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message