Ok , i need to make some changes on user password policies by editing the etc/passwd file ...
I need to change joeblow /etc/shadow entry so that he must change his password once every 90 days, receiving a warning 5 days prior to his password expiring, with no minimum time before user can change his passwords .
So far i can accomplish the first part (90 days to change password) thru this command:
chage -M 90 joeblow
But i am a little stock with the rest .
Any idea anyone ?
I appreciate any help
I need to change joeblow /etc/shadow entry so that he must change his password once every 90 days, receiving a warning 5 days prior to his password expiring, with no minimum time before user can change his passwords .
So far i can accomplish the first part (90 days to change password) thru this command:
chage -M 90 joeblow
But i am a little stock with the rest .
Any idea anyone ?
I appreciate any help
Comment