Operating System - HP-UX
1748074 Members
5278 Online
108758 Solutions
New Discussion

Why are both wtmp & wtmps being updated ?

 
S.Rider
Regular Advisor

Why are both wtmp & wtmps being updated ?

On several of my 11.31 and 11.31, I have both files /var/adm/wtmp & /var/adm/wtmps and they are both being updated regularly.
A "man last" says
/var/adm/btmp Bad login database
/var/adm/wtmp Login database
/var/adm/wtmps New login database
/var/adm/btmps New bad login database
which I would understand as - 11.11 servers had wtmp/btmp and 11.23+ has wtmps/btmps.
Why would both be getting updated ?
Ride Boldly Ride, but watch out for El Dorado's
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: Why are both wtmp & wtmps being updated ?

>Why would both be getting updated?

For compatibility?
You can also use "-f /var/adm/wtmp" as a backup.