Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2002 23:52:00 -0500
From:      "Joe & Fhe Barbish" <barbish@a1poweruser.com>
To:        "FBSD Questions" <questions@FreeBSD.ORG>
Subject:   pw in script to create new user.
Message-ID:  <LPBBIGIAAKKEOEJOLEGOKEFHCNAA.barbish@a1poweruser.com>

next in thread | raw e-mail | index | archive | help
I have sh script with this in it
Pw adduser tom -m -c bkup manager -o
The /etc/pw.conf has all the defaults, one is to 
make the password the same as the userid. 
The -o option will take input from keyboard for the 
Password but this is a canned script so I need to  
Some how pass the password value to the pw command -0 option.

How can I configure the script to hold the password value 
for that userid so when the pw adduser command is executed 
the correct password gets used in creating the user?

A example of the script  pw command would be great.

Thanks
Joe 


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?LPBBIGIAAKKEOEJOLEGOKEFHCNAA.barbish>