LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-06-2010, 08:48 AM   #1
mccartjd
Member
 
Registered: Apr 2008
Posts: 108

Rep: Reputation: 15
Smile tallylog vs faillog


Using Red Hat 5 and trying to find a log file I can extract data from that list all accounts locked. In Red Hat 4 I pulled the data from the fiallog by typing faillog -a. Now that I'm using Pam_tally do I get the same data from the tallylog and if so is there a command switch?

Really new to Red Hat.

A million thanks,
John
 
Old 08-06-2010, 03:50 PM   #2
mccartjd
Member
 
Registered: Apr 2008
Posts: 108

Original Poster
Rep: Reputation: 15
Smile Not really what I wanted but it works

I’ve managed to find a way to capture the data. I observed that when an account is locked, a key value associated with the account in the audit.log file was ACCT_LOCK.

I setup a script that looks like this:

ausearch --start this-week -i | grep `ACCT_LOCK’

The above puts it on the screen but I could alway insert it into a .txt file. It returns all the accounts locked in Linux for the past week.
 
  


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
RH5: Ran updates last week, now faillog acts weird HelpdeskMonkey Red Hat 1 06-16-2010 07:15 PM
Faillog does not count failed login attempts SecondMet Linux - Security 11 04-19-2010 05:11 AM
SUSE related to faillog commad yogendra miandale Linux - Newbie 1 07-07-2009 06:52 AM
What is tallylog ? exceed1 Linux - General 2 09-06-2008 12:42 PM
How to run faillog on 32-bit compatibility mode? Sellina Linux - Newbie 0 10-22-2007 02:34 AM

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

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

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