Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 04-13-2007, 07:42 PM   #1
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?


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 07:19 PM
Require Linux/Perl equivalent command for windows Command alix123 Programming 7 08-19-2005 02:23 AM
Redirecting output to a command-line argument of another command madiyaan Linux - Newbie 1 02-19-2005 04:35 PM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 07:14 PM
Command to display whole filestructure hierarchy f/ command line? mjewell Linux - Newbie 10 01-19-2004 10:48 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:59 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
Open Source Consulting | Domain Registration