Differences
This shows you the differences between two versions of the page.
linux_wiki:change_passwords_and_adjust_password_aging_for_local_user_accounts [2016/02/29 21:56] billdozor created |
linux_wiki:change_passwords_and_adjust_password_aging_for_local_user_accounts [2016/03/05 16:45] billdozor |
||
---|---|---|---|
Line 3: | Line 3: | ||
**General Information** | **General Information** | ||
- | About this page/ | + | Account password management. |
---- | ---- | ||
+ | |||
+ | ===== Important Files ===== | ||
Contains Default password aging | Contains Default password aging | ||
* / | * / | ||
- | Change user password manually | + | \\ |
- | <code bash> | + | |
- | passwd rjones | + | |
- | </ | + | |
- | * 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 | ||
+ | </ | ||
+ | * Will be prompted to enter new password twice | ||
+ | |||
+ | \\ | ||
List account age information (Same age info from / | List account age information (Same age info from / | ||
<code bash> | <code bash> | ||
Line 35: | Line 43: | ||
</ | </ | ||
+ | \\ | ||
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: | ||
</ | </ | ||
+ | \\ | ||
Set account expiration | Set account expiration | ||
<code bash> | <code bash> |