Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

syslog and tracing of login/logout/su

LBertoglio
Advisor

syslog and tracing of login/logout/su

Hi All,
despite some threads about this subject, I could not find out a simple way to trace, and send to a remote syslog server, information for logins, logouts, login failures and "su -" on my hpux 11.23 hosts.
Someone suggested to use last and lastb|logger, but "su" is not logged
(and doing all this staff just using syslog.conf would be nicer...).
Many thanks in advance.
Leonardo.
1 REPLY
James R. Ferguson
Acclaimed Contributor

Re: syslog and tracing of login/logout/su

Hi:

If you want a log of 'su' successes and failures, look at '/var/adm/sulog' and/or
'/var/adm/OLDsulog' from the previous reboot.

Regards!

...JRF...