Difference between revisions of "Passwd (command)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 6: Line 6:
 
:<code>passwd -u $USERNAME</code> // will unlock account if needed
 
:<code>passwd -u $USERNAME</code> // will unlock account if needed
  
<pre>
+
 
passwd -u $USERNAME
+
passwd -u $USERNAME
passwd: password expiry information changed.
+
passwd: password expiry information changed.
</pre>
+
 
 +
[[Busybox]]
 +
passwd -u USERNAME
 +
passwd: password for USERNAME is already unlocked
  
  

Revision as of 11:21, 26 August 2020


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 is already unlocked


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

Related terms

Activities

See also

Advertising: