Problem adding user with pw

fbsd_user fbsd_user at a1poweruser.com
Wed Dec 14 14:33:49 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 ?

_______________________________________________
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"






-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Tofik
Suleymanov
Sent: Wednesday, December 14, 2005 2:56 PM
To: Ashley Moran
Cc: freebsd-questions at freebsd.org
Subject: Re: Problem adding user with pw


On my 5.4 system I have no bash in /usr/local/bin or any place else.
I think you have to install bash shell from the ports.





More information about the freebsd-questions mailing list