Time Based Account Security

Dave Henley dhenley1 at live.com
Tue Oct 23 06:13:53 UTC 2012


When we deploy new servers in our network (Ubuntu and Debian), after adding user accounts (sysadmins) and all the necessary precautions we issue the chage -d0 command which works pretty good. But sometimes it takes some time before one of the admins actually logs in to change his/her password.
I`d like to have the option to automatically disable the account after, let`s say, one week to avoid abuse the first time.
After the user has changed his password this short inactivation option should be reset to the normal password aging time of 3 months. 
What is the best way to do this?

Cheers,
Dave
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20121023/603b6d4f/attachment.html>


More information about the ubuntu-users mailing list