To view current password age for admin user, execute chage command as follows:
nutanix@cvm$ sudo chage -l admin
Last password change : May 22, 2007
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
To disable password aging / expiration for user admin , type command as follows and set:
Minimum Password Age to 0
Maximum Password Age to 99999
Password Inactive to -1
Account Expiration Date to -1
nutanix@cvm$ sudo chage -m 0 -M 99999 -I -1 -E -1 admin
Keine Kommentare:
Kommentar veröffentlichen