On HP-UX 11.0 - how can I setup login monitoring to see who is logging into the system and when. We have an issue with someone doing unsavoury things on the system and are trying to track them down.
the "last" command will show you who logged in, when, what port/IP address and when they logged out. This reads the /var/adm/wtmp file. So if you (or cron) clears this file, you will not be able to use the last functionality.
Crowe's comments are absolutely correct ... you can
also use the "lastb" command to check when someone
attempts to login as another user (or root) but does
not use the correct password.
This data file is also stored in /var/adm as btmp.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.