LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 04-13-2007, 08:42 PM   #1
headrush
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
radwtmp and the last command


I just upgraded my Redhat box from a very old and sturdy box that was running an old version of slackware. I am using cistron/freeradius and it is working great. The move went well, everything is working, but when I go to search the radwtmp logs on the new server, it can not read the old logs. They are readable on the old server just fine. New logs are readable as they are created by the new server. The script I have been using for years (read about 10 years) is:

( exec last -f /var/log/radwtmp -y $* | more)

I had to change it to:

( exec last -f /var/log/radwtmp $* | more)

For the new version of last to read it at all. The orginal version of last seems to be from (gasp) 1992.

Any suggestions on how to convert the old radwtmp logs (I rotate them each month, rename them, update the script file) so I can continue to see users log in history?
 
  


Reply

Tags
last, lastlog, radius


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
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 08:19 PM
Require Linux/Perl equivalent command for windows Command alix123 Programming 7 08-19-2005 03:23 AM
Redirecting output to a command-line argument of another command madiyaan Linux - Newbie 1 02-19-2005 05:35 PM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 08:14 PM
Command to display whole filestructure hierarchy f/ command line? mjewell Linux - Newbie 10 01-19-2004 11:48 AM


All times are GMT -5. The time now is 04:09 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration