Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unix Logging

Status
Not open for further replies.

jmcclain

Programmer
Aug 14, 2002
27
US
I've been asked to help get a Unix based application through a Sarbanes-Oxley review.

The auditors are requiring that privileged access (e.g. root level accounts) must be logged. The logs must then be reviewed to ensure that any actions taken by these accounts are appropriate.

My specific question is if anyone has any experience with
- Developing a script to log actions by particular accounts
- Using a third party tool to perform logging

Any suggestions would be appreciated, as we are stuck!
 
Auditors love sudo.

It not only logs all privileged access, it allows highly granular control of privilege. You can be as specific as only allowing a certain user to run a certain command with certain arguments on a certain machine. The log isn't formatted with automated parsing in mind, but it sounds like you'll need to be manually reviewing them anyway.

AIX versions are available from Bull Freeware, and the AIX Toolbox for Linux Applications.

Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L

 
You might also want to disable the remote login for "root" user and then set up syslogd to log the "auth" and "info" messages, which will log the "su -" into the syslog file.
 
If you only allow "su -" to root level accounts then you can run a variation of the following command to monitor who is using "su -":

tail -20 /var/adm/sulog
 
You may also consider turning on AIX audit and configure it to your specific needs. That was one of my requests from SOX.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top