Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Dec 1999 11:06:39 -0800
From:      Dan Mahoney <dmahoney@pe.net>
To:        Brant Brookie <brant@fastserve.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Entering and changing passwords from the command line.
Message-ID:  <384D5ABF.78DEFCB2@pe.net>
References:  <384D52C4.934436E6@fastserve.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Instead of using "adduser", try using "pw useradd" This will allow you to
specify the passwortd in the command line and not have to confirm it. As
usual, try "man pw" for details.

Brant Brookie wrote:

> I am having trouble finding the command line option to enter the
> password when creating a new user with FreeBSD 3.2, and will have to
> implement this with 3.3 as well. I am using a Perl script to make the
> system call and would prefer to have it all in one line rather than
> prompt me to enter the password and confirm it. The data validation will
> have been done before it gets to this point. Any suggestions would be
> greatly appreciated.
>

Dan Mahoney
dmahoney@pe.net



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?384D5ABF.78DEFCB2>