Operating System - HP-UX
1832667 Members
3137 Online
110043 Solutions
New Discussion

Re: audit user creation/delete

 
Titania
Advisor

audit user creation/delete

Hello

I would like to know how to audit events like user creation/deletion/passwd modification etc, can be this done through SAM?

2 REPLIES 2
Ralf Seefeldt
Valued Contributor

Re: audit user creation/delete

Hi Titania,

SAM logs its actions in /var/sam/log/samlog.
There you should be able to find, what you are logging for. You may access the logfile by SAM
| Options | view SAM log or be texteditor.

To figure out, who performed any action, most of which nmay require root-permissions, you have to look at the information, stored in /etc/wtemp . You may access these with command "last" or, getting some additional information, by executing:
#cat /etc/wtmp | /usr/lib/acct/fwtmp | \ #tail -1000 > /etc/wtmp.txt #vi + /etc/wtmp.txt

Bye
Ralf
Steve Steel
Honored Contributor

Re: audit user creation/delete

Hi


http://docs.hp.com/en/5991-8678/ch06s03.html


Gives you the basics of real auditing


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)