The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Solaris 9 Auditing dxs SUN Solaris 2 05-12-2008 07:06 AM
File auditing aladdin UNIX for Dummies Questions & Answers 2 02-22-2007 09:35 AM
User Auditing rajesh_149 AIX 2 08-22-2005 11:37 PM
BMS Auditing BlueKalel SUN Solaris 0 05-11-2005 07:29 AM
System Auditing Cameron UNIX for Dummies Questions & Answers 2 01-03-2002 04:04 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #15  
Old 03-29-2007
Registered User
 

Join Date: Mar 2007
Posts: 17
Smile steps

you auditd config should like the following:


run

/etc/security/bsmconv

make sure the /etc/system has been update
(set c2audit:audit_load = 1)

reboot


vi audit_startup

/usr/bin/echo "Starting BSM services."
/usr/sbin/auditconfig -conf
/usr/sbin/auditconfig -aconf
/usr/sbin/auditconfig -setpolicy +argv

Add the following class to you /etc/security/audit_class

0x08000000:cc:CIS custom class

vi the audit_event

find entry 23 and add cc, just like the following entry:

23:AUE_EXECVE:execve(2)s,ex,cc

vi audit_control

make sure that you have the following lines:

dir:/var/audit
flags:lo,ad,cc
minfree:20
naflags:lo

vi audit_user

where userX is the name of the user you want to audit.

userX:lo:no
userX:lo,ad,cc,exec,all
userX:lo,ad,cc,exec,al


to get any reading from your logs use the below command:

auditreduce -c lo /var/audit/20070329110000.not_terminated.*servername* |praudit

and that will give you what you want !!
good luck.
Reply With Quote
Forum Sponsor
  #16  
Old 03-30-2007
Registered User
 

Join Date: Mar 2007
Posts: 2
fine!

hi auditd. Its ok now
Thanks for yor help.
Reply With Quote
  #17  
Old 09-25-2007
Registered User
 

Join Date: Sep 2007
Location: U.S.
Posts: 1
Effective UID root

Hello all,

I am working with a solaris 10 system that has minimum 250 users on it during any business day. I need to track all +ex where the effective uid is root and nothing more. BSM seems like the best tool for this because of how well it tracks each user with it's audit-id.

I have root:+ex in my audit_user file, however this setting applies only for console logins of root because we do not allow remote. I have flags: +ex in my audit_control file, however this setting with the number of users I have will generate an audit trail which is too large for my file system with a ton of unnecessary data. Does anyone know how I could setup BSM to audit only the effective UID of root?
Reply With Quote
  #18  
Old 01-20-2008
Registered User
 

Join Date: Nov 2006
Posts: 260
I need to find some answers for this, according to the manuals this BSM auditing when turned on uses up a lot of disk space, my question is how much disk will the logs use up every month?

Also does anybody also know what is the equivalent of solaris BSM on hpux, does HPUX have any built in auditing capabilities similiar to solaris?

Last edited by sparcguy; 01-21-2008 at 02:04 AM.
Reply With Quote
  #19  
Old 03-02-2008
Registered User
 

Join Date: Feb 2007
Posts: 22
Quote:
Originally Posted by sparcguy View Post
I need to find some answers for this, according to the manuals this BSM auditing when turned on uses up a lot of disk space, my question is how much disk will the logs use up every month?
How long is a piece of string?

The problem is that it depends on a lot of things, like:
  • number of active and audited users
  • user activity (running lots of commands)
  • policy settings (such as argv and arge)

The best way is to start auditing using the settings you want and closely monitor the audit trail, and then tune the settings if they grow too large.

I have system which generates over 100 MB/day and I have others which generates less than 1 MB/day - using the same audit settings.

See this page for more information.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
solaris

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0