Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Dec 1999 15:23:38 +1300
From:      Jonathan Chen <jonc@logisticsoftware.co.nz>
To:        Jill R Pelavin <jill@securify.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: pw problem- can't get it to work
Message-ID:  <19991209152338.B12088@jonc.logisticsoftware.co.nz>
In-Reply-To: <384F0D99.492DD70@securify.com>; from jill@securify.com on Wed, Dec 08, 1999 at 06:02:01PM -0800
References:  <384F0D99.492DD70@securify.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?19991209152338.B12088>