-   Linux - Software (
-   -   Inactive Account Lock (

pattanaikhr 04-21-2011 02:20 AM

Inactive Account Lock
Hi All,
I need one help here .
My Requirement is needs to lock the user account (Linux ) , those are not logged in system last 5 days?

Thanks for your advance help.


zjoske 04-21-2011 04:00 AM

"man chage" maybe helps?

pattanaikhr 04-21-2011 04:25 AM


Originally Posted by zjoske (Post 4331306)
"man chage" maybe helps?

Thanks for reply . I checked this command where it's offers inactivate the password , where I'm looking who are inactive user last 5 days means who are not logged in system last 5 days

honeybadger 04-21-2011 04:57 AM

I think you would have to manupulate the /etc/login.defs to make the necessary changes. Backup the orignal file before making changde.
Hope this helps.

All times are GMT -5. The time now is 10:24 AM.