Passwd: Difference between revisions
From Bashlinux
Jump to navigationJump to search
Content deleted Content added
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ |
__NOTOC__ |
||
| ⚫ | |||
= passwd = |
|||
| ⚫ | |||
Just run the command |
Just run the command |
||
<pre><nowiki> |
|||
echo user:password | chpasswd |
echo user:password | chpasswd |
||
</nowiki></pre> |
|||
Note that user and password should be in plain text |
Note that user and password should be in plain text |
||
Latest revision as of 00:14, 9 June 2015
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