Hi,
I want to know HOW I could programm somthing to let me know if an SU command were recently used (at least 5 minutes...). I'd say programming it into a Crontab which check every 5 mins after an SU command in the syslog.log file... but I don't really know how to let me KNOW about if any NEW su command used... It's just be able to monitor online use of "su"... thnx in advance... (make it easy, i'm a newbie
I used to type
#cat /var/adm/syslog/syslog.log | grep root | more
This shows me the 'root's login line, and WHO used the su command, as no direct root login is possible.
thnx in advance
I want to know HOW I could programm somthing to let me know if an SU command were recently used (at least 5 minutes...). I'd say programming it into a Crontab which check every 5 mins after an SU command in the syslog.log file... but I don't really know how to let me KNOW about if any NEW su command used... It's just be able to monitor online use of "su"... thnx in advance... (make it easy, i'm a newbie
I used to type
#cat /var/adm/syslog/syslog.log | grep root | more
This shows me the 'root's login line, and WHO used the su command, as no direct root login is possible.
thnx in advance