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: > > [EMAIL PROTECTED] cat /etc/pw.conf > shellpath = /bin,/usr/bin/,/usr/local/bin > shell = sh,csh,tcsh,bash > defaultshell = bash > > [EMAIL PROTECTED] which bash > /usr/local/bin/bash > >but ... > > [EMAIL PROTECTED] 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 "[EMAIL PROTECTED]" > > > 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 "[EMAIL PROTECTED]" -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"