Difference between revisions of "Passwd (command)"

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
  
 
== Related commands ==
 
== Related commands ==
* <code>PermitRootLogin</code> in [[sshd_config]]
+
* <code>PermitRootLogin</code> in <code>[[sshd_config]]</code>
 
 
  
 
== See also ==
 
== See also ==

Revision as of 10:41, 5 February 2020

passwd -l $USERNAME // for disabling password login
passwd -u $USERNAME // will unlock account if needed
passwd -u $USERNAME
passwd: password expiry information changed.


journalctl 
Feb 05 14:35:55 SERVER_NAME passwd[29180]: pam_unix(passwd:chauthtok): password changed for roo

Related commands

See also

Advertising: