Add new user with a specif password in script

Chuck Wolber chuckw at quantumlinux.com
Sun Nov 9 21:09:27 UTC 2003


> What command(s) should I use in order to add a new user to my system
> (from a bash script) and specify a default (not null) password for this
> user?

Try:

echo "password" | passwd --stdin

-Chuck


-- 
Quantum Linux Laboratories - ACCELERATING Business with Open Technology
   * Education			| -=^ Ad Astra Per Aspera ^=-
   * Integration		| http://www.quantumlinux.com
   * Support			| chuckw at quantumlinux.com

A: Because we read from top to bottom, left to right.
Q: Why should i start my reply below the quoted text?






More information about the users mailing list