Date: Wed, 08 Dec 1999 18:43:27 -0800 From: Jill R Pelavin <jill@securify.com> To: Jonathan Chen <jonc@logisticsoftware.co.nz>, freebsd-questions@freebsd.org, tomb@securify.com Subject: Re: pw problem- can't get it to work Message-ID: <384F174F.3DEF7377@securify.com> References: <384F0D99.492DD70@securify.com> <19991209152338.B12088@jonc.logisticsoftware.co.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
that was the problem. I changed that line in the config file to be : shellpath = "/bin" which it was originally, and I cp'ed bash to be in /bin, and now pw works! thanks, jonathan I think you are right about it stopping its tracks upon encountering any error. goodnight -Jill -------- Jonathan Chen wrote: > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?384F174F.3DEF7377>