Date: Wed, 14 Dec 2005 13:31:29 -0500 From: Nicolas Blais <nb_root@videotron.ca> To: freebsd-questions@freebsd.org Cc: Ashley Moran <work@ashleymoran.me.uk> Subject: Re: Problem adding user with pw Message-ID: <200512141331.34809.nb_root@videotron.ca> In-Reply-To: <200512141744.05856.work@ashleymoran.me.uk> References: <200512141744.05856.work@ashleymoran.me.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart2733200.5nncThoZLY Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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@alfie# cat /etc/pw.conf > shellpath =3D /bin,/usr/bin/,/usr/local/bin > shell =3D sh,csh,tcsh,bash > defaultshell =3D 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? > Not sure, but since bash is a localy installed shell, try: defaultshell =3D /usr/local/bin/bash =2D-=20 =46reeBSD 7.0-CURRENT #4: Sat Dec 10 11:55:08 EST 2005 =20 root@clk01a:/usr/obj/usr/src/sys/CLK01A=20 PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc --nextPart2733200.5nncThoZLY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDoGUG4wTBlvcsbJURAoFdAJwNK+yRxL3ucVMwDW9MCOC0e3q/OwCgwyAZ JiPdl/X0/F1T05TmJm4g9sU= =Nrph -----END PGP SIGNATURE----- --nextPart2733200.5nncThoZLY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512141331.34809.nb_root>