Problem adding user with pw
Nicolas Blais
nb_root at videotron.ca
Wed Dec 14 10:31:50 PST 2005
On December 14, 2005 12:44 pm, 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?
>
Not sure, but since bash is a localy installed shell, try:
defaultshell = /usr/local/bin/bash
--
FreeBSD 7.0-CURRENT #4: Sat Dec 10 11:55:08 EST 2005
root at clk01a:/usr/obj/usr/src/sys/CLK01A
PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051214/dd3d95f2/attachment.bin
More information about the freebsd-questions
mailing list