Problem adding user with pw
Tofik Suleymanov
tofik at oxygen.az
Wed Dec 14 09:56:21 PST 2005
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 at alfie# cat /etc/pw.conf
> shellpath = /bin,/usr/bin/,/usr/local/bin
> shell = sh,csh,tcsh,bash
> defaultshell = bash
>
> root at alfie# which bash
> /usr/local/bin/bash
>
>but ...
>
> root at alfie# pw useradd testuser
> pw: no default shell available or defined
>
>Does anyone know why I get this error message?
>
>
>Thanks
>Ashley
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
>
maybe missing entry in /etc/shells ?
More information about the freebsd-questions
mailing list