Operating System - HP-UX
1840466 Members
3262 Online
110165 Solutions
New Discussion

How do I trace a failed login

 
SOLVED
Go to solution

How do I trace a failed login

I see an :rlogind[20230]: Login failure (exit(28) from login(1))in the syslog....

How do I trace from where this rlogin has originated...
4 REPLIES 4
Sridhar Bhaskarla
Honored Contributor

Re: How do I trace a failed login

Hi,

Try "lastb -R" command. You should see the failed logins with date stamps and the system from where the connection was attempted. You can compare the time stamps and determine who it might be.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try

Re: How do I trace a failed login

Hi Sri , Thanks for your quick reply, I was wondering if I could add something in the inetd.conf , that could add some more debug information in the syslog itself.
Sridhar Bhaskarla
Honored Contributor
Solution

Re: How do I trace a failed login

Certainly. When invoked with -l option (inetd -l), inetd will log each connection into syslog. However, just to trace rlogin/telnet etc., you don't need inetd running with logging option as you can get that information from 'lastb|last'. If you intend to run inetd with -l, make sure you have enough space in /var/adm/syslog as running it with -l can fill up your /var depending on the type of transactions your system does.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try

Re: How do I trace a failed login

Excellent!....That is exactly what I was looking for (inetd -l )....Thanks!