Sunday, 19 May 2013

howto set a user account a limited login time

howto set a user account a limited login time

I want to create a user with a limited login time. To be more clear, I want the user account to be able to login for specified time (ie. 1000 clocks), and then the account deactivates. I looked at useradd but it only gave me an option to set expire date. As my desired limit is not a specified date, but a specified time of login, it doesn't help. Can anyone help?

No comments:

Post a Comment