On Mon, 1 Jun 1998, Nathan E Norman wrote:

> On Mon, 1 Jun 1998, Bob McGowan wrote:
> 
> : How about just adding the 'passwd' command to the scirpt?
> 
> Because I don't know what the user's password is.  I have the encrypted
> password entry from the /etc/master.passwd file from the BSDi box, and
> don't need it encrypted again.

Use a combination of the useradd command (which adds users from the
command line) and the chpasswd command (which takes username/passwd combos
on stdin)

-- 
Scott K. Ellis <[EMAIL PROTECTED]>                 http://www.gate.net/~storm/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to