LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-14-2010, 10:20 PM   #1
quanba
Member
 
Registered: Jul 2009
Posts: 41

Rep: Reputation: 15
[Linux Audit]: Which groups should be allowed to read audit log files?


Hi there,

I am studying about audit log in Unix and reading some security guide.

The guide said that audit log files (/var/log/audit.d) should be owned by groups of which the GIDs should range from 1 - 19.

Can anyone tell me the meaning of the range 1 - 19?

Thanks in advance!
 
Old 11-15-2010, 10:09 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by quanba View Post
Can anyone tell me the meaning of the range 1 - 19?
Traditionally Group Ids between 1 and 500 or 1000 (also see GID_MIN in /etc/login.defs) have been reserved for system users.
Your range should amount to these accounts:
Code:
awk -F: '$3 > 0 && $3 < 20 { print $1 }' /etc/group
of which some are not associated with auditing and writing logs anyway. Kinda makes me wonder what "guide" you're reading.
 
  


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
How can I read the audit time stamp? msg=audit(1213186256.105:20663) abefroman Linux - Software 3 04-21-2011 06:37 PM
error in line 5 of /etc/audit/audit.rules RHEL5u3 abti Red Hat 1 04-06-2010 05:42 PM
audit log rotation jnojr Linux - Security 4 06-02-2009 11:08 AM
LXer: Linux audit files to see who made changes to a file LXer Syndicated Linux News 0 03-21-2007 12:33 AM
Audit Log in AIX? DriveMeCrazy AIX 5 05-16-2004 03:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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