To disable a user, think of locking the account:
passwd <username> -l
So, to re-enable the account you unlock it:
passwd <username> -u
See this highly useful page:
http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/
Just a place I collect my thoughts.
To disable a user, think of locking the account:
passwd <username> -l
So, to re-enable the account you unlock it:
passwd <username> -u
See this highly useful page:
http://www.ducea.com/2007/12/05/howto-disable-a-user-account-in-linux/