Difference between revisions of "Passwd (command)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
passwd command included in [[passwd (package)]]
+
{{lowercase}}
 +
<code>passwd</code> command included in [[passwd (package)]]
  
  
 
* <code>[[passwd]] USERNAME</code>
 
* <code>[[passwd]] USERNAME</code>
  
* <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  
  
 
  passwd -u $USERNAME
 
  passwd -u $USERNAME
 
  passwd: password expiry information changed.
 
  passwd: password expiry information changed.
 
[[Busybox]]
 
  
 
  passwd -u USERNAME
 
  passwd -u USERNAME
Line 21: Line 20:
 
  passwd --status USERNAME
 
  passwd --status USERNAME
 
  USERNAME L 11/15/2020 0 99999 7 -1
 
  USERNAME L 11/15/2020 0 99999 7 -1
 
  
 
  [[journalctl]]  
 
  [[journalctl]]  
Line 39: Line 37:
 
* <code>[[passwd (package)]]</code>
 
* <code>[[passwd (package)]]</code>
 
* [[PostgreSQL]]: <code>[[ALTER USER]] user_name WITH PASSWORD 'new_password';</code>
 
* [[PostgreSQL]]: <code>[[ALTER USER]] user_name WITH PASSWORD 'new_password';</code>
 +
* <code>[[ssh-keygen -p]]</code>
 +
* <code>[[mkpasswd]]</code>
 +
* [[AWS]]: <code>[[aws iam change-password]]</code>
 +
* [[macOS]]:
 +
** <code>[[dscl . -passwd]]</code>
 +
** <code>passwd yourUsername</code>
 +
** <code>[[security set-keychain-password]]</code>
 +
* [[Change password]]
 +
* <code>[[gpasswd]]</code>
  
 
== Activities ==
 
== Activities ==
 
* Read https://www.cyberciti.biz/faq/securing-passwords-libpam-cracklib-on-debian-ubuntu-linux/
 
* Read https://www.cyberciti.biz/faq/securing-passwords-libpam-cracklib-on-debian-ubuntu-linux/
 +
* [[macOS]]: https://support.apple.com/en-us/HT202860
  
 
== See also ==
 
== See also ==

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: