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 24: Line 24:
 
== Related terms ==
 
== Related terms ==
 
* <code>[[PermitRootLogin]]</code> in <code>[[sshd_config]]</code>
 
* <code>[[PermitRootLogin]]</code> in <code>[[sshd_config]]</code>
* [[Lockout policy]]
 
 
* [[PAM]]
 
* [[PAM]]
 
* <code>[[/etc/passwd]]</code> (See also [[Zabbix]] <code>/etc/passwd</code> trigger)
 
* <code>[[/etc/passwd]]</code> (See also [[Zabbix]] <code>/etc/passwd</code> trigger)

Revision as of 17:36, 4 November 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 changed by root
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: