Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2005 19:56:24 +0000
From:      Tofik Suleymanov <tofik@oxygen.az>
To:        Ashley Moran <work@ashleymoran.me.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem adding user with pw
Message-ID:  <43A078E8.30504@oxygen.az>
In-Reply-To: <200512141744.05856.work@ashleymoran.me.uk>
References:  <200512141744.05856.work@ashleymoran.me.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Ashley Moran wrote:

>Please forgive me if I've missed something obvious, but I've googled for this 
>error and get no results.
>
>I want to add a new user with the pw command:
>
>	root@alfie# cat /etc/pw.conf
>	shellpath = /bin,/usr/bin/,/usr/local/bin
>	shell = sh,csh,tcsh,bash
>	defaultshell = bash
>
>	root@alfie# which bash
>	/usr/local/bin/bash
>
>but ...
>
>	root@alfie# pw useradd testuser
>	pw: no default shell available or defined
>
>Does anyone know why I get this error message?
>
>
>Thanks 
>Ashley
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>  
>
maybe missing entry in /etc/shells ?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43A078E8.30504>