Operating System - HP-UX
1834454 Members
2390 Online
110067 Solutions
New Discussion

Re: SAM and Event Auditing

 
SOLVED
Go to solution
Mark Stewart
Frequent Advisor

SAM and Event Auditing

If you use SAM to perform sys admin tasks while Event Auditing is turned on, will tasks performed in SAM show up in the logs? For example, if I used SAM to add a new user to the system, would the event logs show that root made that addition? Or would I be looking for/need to be auditing a specific system call for it to show up? Thanks!
3 REPLIES 3
Darren Prior
Honored Contributor

Re: SAM and Event Auditing

Hi,

I don't believe there's a specific auditable event for adding a new user, after all there are several way of performing the task (of which SAM is just one.) If you use SAM to add a user then SAM's log will contain this information.

You could also check the audevent man page for info on the available auditable events and system calls. The process of creating the new user's home directory and entry in /etc/passwd can be captured by auditing.

regards,

Darren.
Calm down. It's only ones and zeros...
Systeemingenieurs Infoc
Valued Contributor
Solution

Re: SAM and Event Auditing

sam uses the useradd function. It will show up if you enable the loggin of the execve (if i remember correctly).

Take it from me that it's not easy to filter the interesting stuff out of the garbage via audisp

hecou
A Life ? Cool ! Where can I download one of those from ?
doug hosking
Esteemed Contributor

Re: SAM and Event Auditing

Mark, check out patch PHCO_27018. That might be helpful to you.