Difference between revisions of "Passwd"

From Bashlinux
Jump to: navigation, search
 
(talk)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
= passwd =
 
= passwd =
== Setup user password from command line ==
+
== How to setup user password from command line with no user interaction ==
 
Just run the command
 
Just run the command
 
 

Revision as of 05:27, 12 June 2012

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