Passwd

From Bashlinux
Revision as of 05:27, 12 June 2012 by Unknown user (talk)
Jump to navigationJump to 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