Passwd

From Bashlinux
Revision as of 00:14, 9 June 2015 by Manpaz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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