Passwd: Difference between revisions

From Bashlinux
Jump to navigationJump to search
Content deleted Content added
No edit summary
Manpaz (talk | contribs)
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
= passwd =
= passwd =
== How to setup user password from command line with no user interaction ==
== How to setup user's password from a non-interactive command line ==
Just run the command
Just run the command

Revision as of 01:53, 4 November 2012

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