[[linux_wiki:change_passwords_and_adjust_password_aging_for_local_user_accounts]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux_wiki:change_passwords_and_adjust_password_aging_for_local_user_accounts [2016/03/01 02:56]
billdozor created
linux_wiki:change_passwords_and_adjust_password_aging_for_local_user_accounts [2019/05/26 03:50] (current)
Line 3: Line 3:
 **General Information** **General Information**
  
-About this page/​how-to/​script+Account password management
  
 ---- ----
 +
 +===== Important Files =====
  
 Contains Default password aging Contains Default password aging
   * /​etc/​login.defs   * /​etc/​login.defs
  
-Change user password manually +\\
-<code bash> +
-passwd rjones +
-</​code>​ +
-  * Will be prompted to enter new password twice +
 /etc/shadow fields /etc/shadow fields
 <code bash> <code bash>
Line 30: Line 27:
   * account expiration date (null/never expire)   * account expiration date (null/never expire)
  
 +----
 +
 +===== Commands =====
 +
 +Change user password manually
 +<code bash>
 +passwd rjones
 +</​code>​
 +  * Will be prompted to enter new password twice
 +
 +\\
 List account age information (Same age info from /​etc/​passwd) List account age information (Same age info from /​etc/​passwd)
 <code bash> <code bash>
Line 35: Line 43:
 </​code>​ </​code>​
  
 +\\
 Force user to change password on next login (change number of days since last pw change) Force user to change password on next login (change number of days since last pw change)
 <code bash> <code bash>
Line 42: Line 51:
 </​code>​ </​code>​
  
 +\\
 Set account expiration Set account expiration
 <code bash> <code bash>
  • linux_wiki/change_passwords_and_adjust_password_aging_for_local_user_accounts.txt
  • Last modified: 2019/05/26 03:50
  • (external edit)