‎01-19-201108:32 AM - last edited on ‎11-10-201108:49 AM by Kevin_Paul

‎01-19-201108:32 AM - last edited on ‎11-10-201108:49 AM by Kevin_Paul

Re: View the su logs

yes all logs are @ '/var/adm/sulog '

Could set up a cron job to check sulog periodically and report any failed attempts to su to root (indicated by - instead of +). This is pretty crude example, but should give you the general idea of what needs to be done.

Re: View the su logs

Manix,My sulog appears to only retain for specified period. It is cleared upon reboot and a OLDsulog file is created for the previous day. Both files only contain a 24 hour period. In order to keep a copy of all my su activity I was going to run a cron job. In Solaris cron -e edit the cron file but in HP-UX is it crontab -e? If yes are cron jobs setup pretty much the same; that is specify the time/date and file to execute?My script will create a directory with the date of the system clock, so I will need to figure out how to to this.