Operating System - HP-UX
1827286 Members
1692 Online
109717 Solutions
New Discussion

Re: How do I review the data in /var/adm/wtmp?

 
SOLVED
Go to solution
David Heard
Occasional Advisor

How do I review the data in /var/adm/wtmp?

How do I review the data in /var/adm/wtmp?
5 REPLIES 5
Gerald Taylor
Frequent Advisor
Solution

Re: How do I review the data in /var/adm/wtmp?

I believe this is accessed with the last command

#last

Gerald
Dave Hutton
Honored Contributor

Re: How do I review the data in /var/adm/wtmp?

Can also check fwtmp
cat wtmp | /usr/sbin/acct/fwtmp |more

Formats the output to something a little easier to read.

Dave
John Carr_2
Honored Contributor

Re: How do I review the data in /var/adm/wtmp?

Hi

last and lastb, lastb being bad logins

:-) John.
John Carr_2
Honored Contributor

Re: How do I review the data in /var/adm/wtmp?

you might also wish to look at the man pages

man wtmp
man btmp
man utmp

:-) John.
PVR
Valued Contributor

Re: How do I review the data in /var/adm/wtmp?

/var/adm/wtmp use the command #last
/var/adm/btmp use the command #lastb

/etc/utmp use the command #who #finger etc..

Wtmp gives all successful login information

btmp gives all bad login attempts

utmp gives the information abt users currently login into the system
Don't give up. Try till success...