Difference between revisions of "Passwd (command)"

From wikieduonline
Jump to navigation Jump to search
 
Line 6: Line 6:
  
 
* <code>[[passwd -l]] USERNAME</code> // for disabling password login
 
* <code>[[passwd -l]] USERNAME</code> // for disabling password login
* <code>passwd -u USERNAME</code> // will unlock account if needed
+
* <code>[[passwd -u]] USERNAME</code> // will unlock account if needed
 
* <code>[[passwd --status]] USERNAME</code> // show status  
 
* <code>[[passwd --status]] USERNAME</code> // show status  
  

Latest revision as of 16:47, 11 September 2023

passwd command included in passwd (package)


passwd -u $USERNAME
passwd: password expiry information changed.
passwd -u USERNAME
passwd: password for USERNAME changed by root
passwd -u USERNAME
passwd: password for USERNAME is already unlocked
passwd --status USERNAME
USERNAME L 11/15/2020 0 99999 7 -1
journalctl 
Feb 05 14:35:55 SERVER_NAME passwd[29180]: pam_unix(passwd:chauthtok): password changed for root

Related terms[edit]

Activities[edit]

See also[edit]

Advertising: