From owner-freebsd-questions Mon Feb 12 17: 3:52 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 7CA4037B491 for ; Mon, 12 Feb 2001 17:03:47 -0800 (PST) Received: from localhost (tech@localhost) by squid.tznet.com (8.11.2/8.11.2) with ESMTP id f1D12kf77135; Mon, 12 Feb 2001 19:02:46 -0600 (CST) Date: Mon, 12 Feb 2001 19:02:46 -0600 (CST) From: Scott Pilz To: shivak Cc: freebsd-questions@freebsd.org Subject: Re: Error - Shells In-Reply-To: <008b01c09559$442cf980$0200a8c0@taco> 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 Mon, 12 Feb 2001, shivak wrote: > > > > Error: > > > > pwd_mkdb: warning, unknown root shell > > > > I require to change the default shell for root to somthing else for > our > > new system. Afterwords, I get this whenever I try to make any changes > to > > the password files (and I'm sure other essential areas as well). How > do I > > make the script I made, a "default shell" for root? > > > > (it's comming off of bash, as #!/usr/local/bin/bash) > > > > Is /usr/local/bin/bash in /etc/shells? > > if not, echo /usr/local/bin/bash >> /etc/shells > > Afraid so.. Thats one of the first things I checked. Just for the heck of it, I also put the other script under it as well (which is called 'shell').. Basically the first line is #!/usr/local/bin/bash .. the rest is just stuff I need to have done instead of standard bash. I dont think it has anything to do with /etc/shells myself. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message