Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-06-2010, 09:48 AM   #1
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,
Old 08-06-2010, 04:50 PM   #2
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.


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

All times are GMT -5. The time now is 02:57 AM.

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