From owner-freebsd-questions Wed Dec 8 18:23:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from logisticsoftware.co.nz (logisticsoftware.co.nz [202.37.163.1]) by hub.freebsd.org (Postfix) with ESMTP id 17F5014E57 for ; Wed, 8 Dec 1999 18:23:41 -0800 (PST) (envelope-from jonc@logisticsoftware.co.nz) Received: from jonc.logisticsoftware.co.nz (jonc.logisticsoftware.co.nz [10.1.3.1]) by logisticsoftware.co.nz (8.9.3/8.9.3) with ESMTP id PAA17291; Thu, 9 Dec 1999 15:23:38 +1300 (NZDT) Received: (from jonc@localhost) by jonc.logisticsoftware.co.nz (8.9.3/8.9.3) id PAA12317; Thu, 9 Dec 1999 15:23:38 +1300 (NZDT) (envelope-from jonc) Date: Thu, 9 Dec 1999 15:23:38 +1300 From: Jonathan Chen To: Jill R Pelavin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: pw problem- can't get it to work Message-ID: <19991209152338.B12088@jonc.logisticsoftware.co.nz> References: <384F0D99.492DD70@securify.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <384F0D99.492DD70@securify.com>; from jill@securify.com on Wed, Dec 08, 1999 at 06:02:01PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Dec 08, 1999 at 06:02:01PM -0800, Jill R Pelavin wrote: > I'm trying to use pw to add users (as I want to call this in a > script) and I am experimenting with it on the command line. > > for example, I have typed: > > # pw useradd jill -m -s bash > > the output I get is: Password for jill is: anaoentuhaotuenh > pw: no default shell available or > defined [...] I think it stops in its tracks on any error.. > does anybody know why this is happening? my pw.conf file, which is > located in /etc, is included below [...] > # Colon separated list of directories containing valid shells > shellpath = "/bin","usr/local/bin" ^^^^^^^^^^^^^ I think this should read: shellpath = "/bin","/usr/local/bin" Cheers. -- Jonathan Chen Once is dumb luck. Twice is coincidence. Three times and Somebody Is Trying To Tell You Something. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message