Where and how exactly I can set the expiration time of password of users i.e.the time after which the UNIX OS prompts user after giving some warnings that your password will expire with in n days and then expire the user's password?
feedback
|
migrated from stackoverflow.com Nov 5 '09 at 11:50
This question came from our site for professional and enthusiast programmers.
|
But you need to use the passwd command with the maxdays and warndays set:
would set the maxdays between password changes as 10, and give 5 days warning. EDIT: So if you have a list of usernames in a text file one per line then the following might work:
| |||||||
feedback
|
|
Maybe you want to take a look at the chage command.
| |||||
feedback
|
|
It is not part of the Unix standard, and is completely different depending on what OS you are using, and if you are using some sort of directory service. If you want to know you need to specify what OS you are using, and if it is Linux you probably need to specify what distro. | |||||||||
feedback
|