LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2015, 03:59 PM   #1
jwjohnson2015
LQ Newbie
 
Registered: May 2015
Posts: 2

Rep: Reputation: Disabled
Users /usr/sbin Find Unused Users


Is there a way to find users that aren't being used? Maybe the last login? Something to this effect??
 
Old 05-06-2015, 04:06 PM   #2
adam999
Member
 
Registered: Sep 2006
Posts: 105

Rep: Reputation: 18
You can use

Code:
last
and

Code:
aureport --auth --success
if audit is installed

You can set account expiry on users that have not logged in for a while

Code:
usermod -e
 
Old 05-07-2015, 07:20 AM   #3
jwjohnson2015
LQ Newbie
 
Registered: May 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Expiry

"if audit is installed

You can set account expiry on users that have not logged in for a while"


So, Is there a way that ....once I set the expiry on the users that haven't logged in...to see who is 'flagged' for expiry...or who was expired?


Your information was very helpful! I appreciate it!...
 
  


Reply



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
/usr/sbin/pmi and /usr/sbin/hibernate Woodsman Slackware 1 08-31-2013 10:41 PM
Error: Cannot find 'ssh-keygen' in '/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin' venu.navat Linux - Software 3 03-08-2012 04:00 AM
/sbin access available to normal users SlowCoder Linux - General 5 04-23-2008 06:04 PM
Kernel Panic (/usr/sbin/chroot) after chrooting some users. Niels@debian Linux - General 0 08-12-2004 05:22 PM
Can't find adsl-setup script in /usr/sbin caddie Linux - Newbie 1 09-11-2002 10:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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