LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Inactive Account Lock (http://www.linuxquestions.org/questions/linux-software-2/inactive-account-lock-876260/)

pattanaikhr 04-21-2011 01: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.

Regards,
Pattanaik

zjoske 04-21-2011 03:00 AM

"man chage" maybe helps?

pattanaikhr 04-21-2011 03:25 AM

Quote:

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 03: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 04:51 AM.