Passwd

From Bashlinux
Revision as of 01:53, 4 November 2012 by Manpaz (talk | contribs)
Jump to navigationJump to search

passwd

How to setup user's password from a non-interactive command line

Just run the command

 echo user:password | chpasswd
 

Note that user and password should be in plain text