Operating System - HP-UX
1827452 Members
4039 Online
109965 Solutions
New Discussion

I file of access registration (login) bankrupt

 

I file of access registration (login) bankrupt

Hi,

Which file it takes the control of the bankrupt intents of access (login) in UX 10.20 and UX 11.x?

Thanks,

Orlando
Orlando Oliveira
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: I file of access registration (login) bankrupt

Orlando,

I'm not exactly sure what you're asking, but bad logins are recorded in /etc/btmp (which is linked to /var/adm/btmp), and can be viewed with the lastb command.


Pete

Pete
Simon Hargrave
Honored Contributor

Re: I file of access registration (login) bankrupt

I think the translation of your question is confusing, but I think you are asking where failed/bad logins are logged?

The file is /var/adm/btmp

You can read it with the last command: -

last -f /var/adm/btmp
Simon Hargrave
Honored Contributor

Re: I file of access registration (login) bankrupt

You may also check /var/adm/sulog for entries with a "-" not "+". This shows bad "su" (switch user) attempts.
Muthukumar_5
Honored Contributor

Re: I file of access registration (login) bankrupt

All bad logins are stored on /var/tmp/btmp files. It can be traversed by using lastb command. It will contain some options so that we can get full informations / short things.

User privillagement is applicable to lastb command usage.

And more su login failed are stored on /var/adm/sulog and syslog too.

All attempts to become another user are logged in /var/adm/sulog,
including failures. Successful attempts are flagged with +; failures,
with -. They are also logged with syslog()

see more on last, su man pages

Regards
Muthu
Easy to suggest when don't know about the problem!