Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2005 17:44:05 +0000
From:      Ashley Moran <work@ashleymoran.me.uk>
To:        freebsd-questions@freebsd.org
Subject:   Problem adding user with pw
Message-ID:  <200512141744.05856.work@ashleymoran.me.uk>

next in thread | raw e-mail | index | archive | help
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



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