Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-21-2011, 01:20 AM   #1
LQ Newbie
Registered: Jan 2010
Posts: 7

Rep: Reputation: 0
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.

Old 04-21-2011, 03:00 AM   #2
LQ Newbie
Registered: Dec 2009
Posts: 18

Rep: Reputation: 2
"man chage" maybe helps?
Old 04-21-2011, 03:25 AM   #3
LQ Newbie
Registered: Jan 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Originally Posted by zjoske View Post
"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
Old 04-21-2011, 03:57 AM   #4
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
to lock the account if not accessed through FTP for 15 days linux_beginer Linux - Newbie 2 03-23-2011 10:46 AM
Account Lock maobin Linux - Newbie 6 03-17-2011 01:29 AM
want to lock user account if he is not logged in pgkv Linux - Server 4 11-25-2009 01:14 AM
Enable Account lock out in RH 9 lgpage Linux - Security 2 01-09-2007 12:47 PM
Temporarily lock an account looseCannon AIX 5 02-04-2005 11:24 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration