Path: utzoo!mnetor!uunet!husc6!bloom-beacon!mit-eddie!uw-beaver!uw-june!kevinr
From: kevinr@june.cs.washington.edu (Kevin Ross)
Newsgroups: comp.unix.xenix
Subject: Re: Xenix dialin security
Message-ID: <4857@june.cs.washington.edu>
Date: 7 May 88 15:08:24 GMT
References: <5153@cup.portal.com> <142@portnoy.UUCP>
Reply-To: kevinr@uw-june.UUCP (Kevin Ross)
Organization: U of Washington, Computer Science, Seattle
Lines: 26

In article <142@portnoy.UUCP> ag@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 .

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@june.cs.washington.edu