I'd like to set up an account on a linux server and make the account's password never expire. I'm having difficulties figuring it out with the passwd man page. Could someone please help me out?
|
feedback
|
|
To maximize password expiration:
To disable account expiration:
To do both with chage:
To set the system defaults, look at /etc/default/useradd | |||
|
feedback
|
|
You want the here is a very good howto - http://www.cyberciti.biz/tips/setting-off-password-aging-expiration.html | |||
|
feedback
|
|
The complete command to mitigate any other previous configurations is the following: chage -E -1 -M -1 -I -1 username | |||
|
feedback
|