Subject: Re: Useradd
To: dkwok <dkwok@iware.com.au>
From: Chris Pinnock <cjep@fawlty.net>
List: port-i386
Date: 07/02/2001 19:11:53
On Mon, Jul 02, 2001 at 11:24:43PM +1000, dkwok wrote:
> 
> > > useradd -m -s /bin/sh dnscache
> > > pwd_mkdb: warning, unknown root shell
> > > pwd_mkdb: warning, unknown root shell
> > >
> > > Any pointer for unknown root shell, I have specified /bin/sh is its
> shell thought.
> >
> > Is the shell you have set for your root account in /etc/shells?
> 
> /bin/sh is in my /etc/shells as default.

Just two thoughts:

1. Check that root's shell really is /bin/sh

2. Have you got a shells line in nsswitch.conf? It could be a NIS map
getting in the way?

-- 
Chris