Operating System - HP-UX
1834843 Members
1704 Online
110070 Solutions
New Discussion

Re: Audit script for root

 
David Bellamy
Respected Contributor

Audit script for root

Hello Gurus
does anyone have an audit script that can audit root in a not trusted system. any help will be appreciated.
6 REPLIES 6
Paul Sperry
Honored Contributor

Re: Audit script for root

take a look a roots .history file

what exactly are you looking to audit?
David Bellamy
Respected Contributor

Re: Audit script for root

we trying to audit number of logins,system activity
David Bellamy
Respected Contributor

Re: Audit script for root

we trying to audit number of logins,system activity, something that we can put a timestamp on
Paul Sperry
Honored Contributor

Re: Audit script for root

take a look at /var/adm/sulog and /var/adm/syslog/syslog.log

Also look at theis thread.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1205352405409+28353475&threadId=649574
Chengchai Theerakalkul
Occasional Advisor

Re: Audit script for root

command last will show history of success login and lastb will show unsuccess login history
gherbi
Occasional Advisor

Re: Audit script for root

Hi,

I think you can use the soft SUDO

http://www.gratisoft.us/sudo/


Regards