I can recreate my system from backup in
Seconds Minutes Hours Days Weeks Never tested Never backed up ( 479 votes ~ 6 comments )
You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.
To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.
This is the comment you were replying to, attached to the article Question: How to expire/deactivate inactive user accounts?:
#1 Re: Question: How to expire/deactivate inactive us Posted by Steve (82.41.xx.xx) on Sun 6 Mar 2005 at 13:30 The standard way of expiring accounts is to set an expiry date on the passwords - this would prevent them from logging in or using su to switch users. However I'm not sure how the IMAP logins would work with that.. Usually expiration dates are setup when the accounts are created, but you can use the usermod command to set them up at any time you like. The general way you'd run it is: usermod -e 2005-03-10 username But you can read all the details by running: man usermod I'd wonder why you have so many accounts that you can't keep track of? Perhaps removing the accounts people are su'ing to? Or disabling all accounts and having people call you to see which ones are needed might work?Steve -- Steve.org.uk
The standard way of expiring accounts is to set an expiry date on the passwords - this would prevent them from logging in or using su to switch users.
However I'm not sure how the IMAP logins would work with that..
Usually expiration dates are setup when the accounts are created, but you can use the usermod command to set them up at any time you like.
The general way you'd run it is:
usermod -e 2005-03-10 username
But you can read all the details by running:
man usermod
I'd wonder why you have so many accounts that you can't keep track of? Perhaps removing the accounts people are su'ing to? Or disabling all accounts and having people call you to see which ones are needed might work?
Steve -- Steve.org.uk
Posting Format:
Inappropriate comments will be removed.
Some help on entry formatting is available
Username:
Password:
[ Advanced Login ]
Register Account