Where is login location info kept?

John Gordon gordon at osiris.cso.uiuc.edu
Wed Jun 12 09:35:40 AEST 1991


psm at manta.NOSC.MIL (Scot Mcintosh) writes:

>On BSD Unix, finger will report where someone is logged in from:

>Login    Name        TTY Idle    When     Where
>me     John Smith     p1        Sat 12:34  snoopy
>					   ^^^^^^^
>                 Where does it get this information?

	I believe that this info is kept in a couple of system files, 
"utmp" and "wtmp".  Try doing a man on them.


---
John Gordon
Internet: gordon at osiris.cso.uiuc.edu        #include <disclaimer.h>
          gordon at cerl.cecer.army.mil       #include <clever_saying.h>



More information about the Comp.unix.questions mailing list