Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2005 17:33:42 -0500
From:      "fbsd_user" <fbsd_user@a1poweruser.com>
To:        "Tofik Suleymanov" <tofik@oxygen.az>, "Ashley Moran" <work@ashleymoran.me.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Problem adding user with pw
Message-ID:  <MIEPLLIBMLEEABPDBIEGGECOHKAA.fbsd_user@a1poweruser.com>
In-Reply-To: <43A078E8.30504@oxygen.az>

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 ?

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






-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Tofik
Suleymanov
Sent: Wednesday, December 14, 2005 2:56 PM
To: Ashley Moran
Cc: freebsd-questions@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.






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