On Fri, 28 Feb 2003 michael.arolan at excite.com wrote:
> Any takers on how to create a user from the command line and specify a
> password at the same time?

1) use debian's 'adduser' utility, which asks you for a password.
2) write a wrapper script that parses the password you provide into crypt, 
and then use the '-p' option to useradd to use that crypt.
3) just run adduser/useradd then passwd.  :)

-- 
Nate Carlson <natecars at real-time.com>   | Phone : (952)943-8700
http://www.real-time.com                | Fax   : (952)943-8500


_______________________________________________
Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list