Re: Add new user with a specif password in script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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@xxxxxxxxxxxxxxxx

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





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux