Passwd

From Bashlinux
Revision as of 05:27, 12 June 2012 by (talk)
Jump to: navigation, search

passwd

How to setup user password from command line with no user interaction

Just run the command

 echo user:password | chpasswd
 

Note that user and password should be in plain text