Michael,

    The command you're looking for is "last".  It shows the login and logout
of every user on the system by reading the /var/adm/wtmpx file.  Arguments:
"last <username> <tty>" will allow you to search for specific users and/or
activity on specific tty's.

Gerry

-----Original Message-----
From: Michael B. Trausch <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, January 01, 1999 1:28 AM
Subject: Thank you-and new question


>Guys and gals,
> Thanks all of you for all of your answers to my previous questions!  It
>is very appreciated.  If it weren't for this mailing list, I'd have
>probably thrown the computer out a window somewhere.  =)
> I have a new question, hopefully a real easy one for you UNIX and Linux
>buffs out there... Is there a file or a program that is installed that
>will tell me the login and logout times and dates of every user that has
>used the system?  I want to be able to use some type of feature like
>this (I would think that it would exist, UNIX being as secure as it is)
>so that I can monitor access to the computer.  It would be great if the
>system somehow logs all of the transactions of a person, as well (say,
>if user "mtrausch" executes "ifup ppp0" at 12:30 am, 1/1/99, I want to
>know this, and I want my system to have this logged, and be able to
>retrieve the information).  Does *anyone* know how to do this?
>
> Thanks again!
> Mike Trausch

Reply via email to