Xenix dialin security

Kevin Ross kevinr at june.cs.washington.edu
Sun May 8 01:08:24 AEST 1988


In article <142 at portnoy.UUCP> ag at portnoy.UUCP (Keith Gabryelski) writes:
>
>Sco Xenix does not support any type of login `log'.  

Xenix does have a user log, and logs all users. The log file is called
/etc/wtmp, and holds records of each login. It has the exact format of the
/etc/utmp file, and a program can be written using the data structures found
in #include <utmp.h>.

You can also display the wtmp file by using the who command:

who /etc/wtmp

which will read the wtmp file, and so you the login time and date for each
user.


If the file /etc/wtmp does not exists, then it will not keep a log. If you
don't have it, then you can just create one by cat /dev/null > /etc/wtmp.

On the flip side, the wtmp files can get enormous if you have a busy system.
If you don't need it, removing the file will stop the logging. 

Kevin

kevinr at june.cs.washington.edu



More information about the Comp.unix.xenix mailing list