1748202 Members
2985 Online
108759 Solutions
New Discussion юеВ

login incorrect

 
SOLVED
Go to solution
rajesh73_1
Frequent Advisor

login incorrect

Hi

how can i have find from which hostname or ip wrongly type the passwd the particular user id
7 REPLIES 7
Jeeshan
Honored Contributor
Solution

Re: login incorrect

/var/adm/btmp stores the bad login informations.

And you can find this information to syslog also, if its configured.
a warrior never quits
Nido
Trusted Contributor

Re: login incorrect

Hello Rajesh,

Your answer:
lastb -R

Please check the man page for details.

Cheers!!
" Let Villagers Be Happy!! "
Suraj K Sankari
Honored Contributor

Re: login incorrect

Hi,
>>how can i have find from which hostname or ip wrongly type the passwd the particular user id


used "lastb -R "
-R When used with last and lastb, -R displays the user's host name as it is stored in files /etc/wtmp and /etc/btmp respectively. The host name is displayed between the tty name and the user's login time.

For more information see the man page of lastb
Suraj
Vivek Bhatia
Trusted Contributor

Re: login incorrect

Hi Rajesh,

Use lastb -R or have a look at the file
/var/adm/bad_logins.log

Regards
Vivek
rajesh73_1
Frequent Advisor

Re: login incorrect

thanku for all
rajesh73_1
Frequent Advisor

Re: login incorrect

thanku for all
Sajjad Sahir
Honored Contributor

Re: login incorrect

Dear Rajesh

by default failed logins are written to /var/adm/btmp file and may be read with the lastb command.

thanks and regards

Sajjad Sahir