Operating System - HP-UX
1834800 Members
2672 Online
110070 Solutions
New Discussion

Re: /var/adm/loginlog on HP-UX

 
SOLVED
Go to solution
Ron Levy
Advisor

/var/adm/loginlog on HP-UX

Does hp-ux have anything that mimics the functionality of /var/adm/loginlog on Solaris? Where it logs if you fail to log in five times, hopefully catching and logging a pattern of assault?

I haven't been able to find a manual that refers to /var/adm/loginlog on hp-ux, though maddeningly I saw it referred to on a webpage.

Thanks,
-Ron


3 REPLIES 3
Ray Brewer
Valued Contributor
Solution

Re: /var/adm/loginlog on HP-UX

you can configure syslog to capture this information. However to see bad logins use the lastb command. lastb interprets the file /var/adm/btmp. You will want to pipe it to more because the listing is usualy quite long. The last command will show you good login attempts.

Ray
Patrick Wallek
Honored Contributor

Re: /var/adm/loginlog on HP-UX

lastb will log all attempts with incorrect passwords.

Do a 'man lastb' for more info.
Ray Brewer
Valued Contributor

Re: /var/adm/loginlog on HP-UX

one more thing look at the man pages for telnetd and rlogind to see how to log info to syslog.