Difference between revisions of "Passwd (command)"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 +
passwd command included in [[passwd (package)]]
  
  

Revision as of 08:28, 10 November 2020

passwd command included in passwd (package)


passwd USERNAME
passwd -l $USERNAME // for disabling password login
passwd -u $USERNAME // will unlock account if needed


passwd -u $USERNAME
passwd: password expiry information changed.

Busybox

passwd -u USERNAME
passwd: password for USERNAME changed by root
passwd -u USERNAME
passwd: password for USERNAME is already unlocked
 passwd -S USERNAME


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

Related terms

Activities

See also

Advertising: