Re: adduser without ncurses?
From: jpd (read_the_sig_at_do.not.spam.it)
Date: 06/20/04
- Previous message: Martin P. Hellwig: "Re: adduser without ncurses?"
- In reply to: Erica: "Re: adduser without ncurses?"
- Next in thread: bomberboy: "Re: adduser without ncurses?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 20 Jun 2004 06:14:35 +0000 (UTC)
["Followup-To:" header set to comp.unix.freebsd.misc.]
On 2004-06-19, Erica <erica@technodyke.com> wrote:
>>
>> What about pw(1)?
>
> pw works, except that it doesn't allow me to set a password. passwd
> sets the password, but it prompts for input. Any suggestions?
A quick look at man 1 pw (as also suggested by ObOtherPoster) reveals
a -w option to have it generate a password for you, or a -h option to
feed it one with some shell hackery. That should get you started.
-- j p d (at) d s b (dot) t u d e l f t (dot) n l .
- Previous message: Martin P. Hellwig: "Re: adduser without ncurses?"
- In reply to: Erica: "Re: adduser without ncurses?"
- Next in thread: bomberboy: "Re: adduser without ncurses?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]