1820359 Members
2787 Online
109623 Solutions
New Discussion юеВ

Sudo install

 
SOLVED
Go to solution
Safarali
Valued Contributor

Sudo install

Hi Installed sudo on my hp-ux server, and it is working but how I can track the user who used sudo, I could not find any sudo log

Please help me

Regards
Safar
4 REPLIES 4
Matti_Kurkela
Honored Contributor
Solution

Re: Sudo install

Check the syslog (/var/adm/syslog/syslog.log): most versions of sudo on HP-UX will send the log events there by default.

If that does not help, "man sudoers" and configure the logging options in a way that suits your needs.

MK
MK
Ivan Krastev
Honored Contributor

Re: Sudo install

Here is info for sudoers file:
logfile
Path to the sudo log file (not the syslog log file). Setting a path turns on logging to a file; negating this option turns it off. By default, sudo logs via syslog.



Check complete doc - http://www.sudo.ws/sudo/man/sudoers.html

regards,
ivan
whiteknight
Honored Contributor

Re: Sudo install

safarali,

May I recommend you HP product (Sudo equivalent)
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=AccessControl


This is a good tool.
WK
Problem never ends, you must know how to fix it
Safarali
Valued Contributor

Re: Sudo install

I configured sudo successfully