LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-27-2006, 03:31 PM   #1
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Rep: Reputation: 45
Logging?


/var/log holds a lot of different files, and it seems some of them aren't rotated automatically, or at least I haven't experienced it yet. I'm talking about:

btmp
dmesg
faillog
lastlog

Is this normal Slackware behavior, or should I do something about it?

Regards,
Thomas
 
Old 09-27-2006, 03:34 PM   #2
RAdams
Member
 
Registered: May 2006
Location: Cincinnati, Ohio
Distribution: Ubuntu
Posts: 256

Rep: Reputation: 30
Quote:
Originally Posted by TL_CLD
/var/log holds a lot of different files, and it seems some of them aren't rotated automatically, or at least I haven't experienced it yet. I'm talking about:

btmp
dmesg
faillog
lastlog

Is this normal Slackware behavior, or should I do something about it?

Regards,
Thomas
!confirm

I echo his question.
 
Old 09-27-2006, 04:35 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
dmesg is remade every boot so it only holds current boot info. Don't know about the others sorry.
 
Old 09-27-2006, 08:05 PM   #4
Michielvw
Member
 
Registered: May 2005
Location: Leicester,UK
Distribution: Slackware
Posts: 108

Rep: Reputation: 19
as far as I know and can tell

lastlog - keeps track of when the last time a user logged in (see man lastlog) so technically this shouldn't get to big unless you have tons of users on your system

faillog - keeps track of missed log in accounts.

I can't see a reason for them to rotate as they are most likely kept pretty small
 
Old 09-28-2006, 09:23 AM   #5
RAdams
Member
 
Registered: May 2006
Location: Cincinnati, Ohio
Distribution: Ubuntu
Posts: 256

Rep: Reputation: 30
Quote:
Originally Posted by BlackPanther
as far as I know and can tell

lastlog - keeps track of when the last time a user logged in (see man lastlog) so technically this shouldn't get to big unless you have tons of users on your system

faillog - keeps track of missed log in accounts.

I can't see a reason for them to rotate as they are most likely kept pretty small
That makes sense. It reasonably satisfies my curiosity. Thanks.
 
Old 09-28-2006, 09:52 AM   #6
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Original Poster
Rep: Reputation: 45
Thanks.. I'll rotate them by hand then.
 
Old 09-28-2006, 10:02 AM   #7
Michielvw
Member
 
Registered: May 2005
Location: Leicester,UK
Distribution: Slackware
Posts: 108

Rep: Reputation: 19
if you want them to rotate manually .. you also might want to have a look at /etc/logrotate.d/ and see how files are rotated in there.
 
  


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
CLI -- Logging Out and Logging In StyngerSmash Linux - Newbie 1 09-05-2006 04:23 AM
Need Help logging in to 10.0.0.2 ImNew Linux - Networking 1 09-08-2005 09:13 AM
logging in help dummie_at_linux Linux - Newbie 2 12-29-2004 02:50 PM
logging out spuppett Linux - General 1 03-06-2003 10:27 PM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 02:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:34 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