| To: | Anteneh Tesfaye <anteneh@xxxxxxxxxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: using fam to monitor login/logoff |
| From: | Michael Wardle <michael.wardle@xxxxxxxxxx> |
| Date: | 28 Mar 2003 09:22:48 +1100 |
| Cc: | fam@xxxxxxxxxxx |
| In-reply-to: | <Pine.LNX.4.44.0303270213400.14729-100000@xxxxxxxxxxxxxxxxxxxxxxxxxx> |
| Organization: | Adacel Technologies |
| References: | <Pine.LNX.4.44.0303270213400.14729-100000@xxxxxxxxxxxxxxxxxxxxxxxxxx> |
| Sender: | fam-bounce@xxxxxxxxxxx |
On Thu, 2003-03-27 at 18:24, Anteneh Tesfaye wrote: > I am not very familiar with Linux. For this project I was working on, I > wanted to monitor when people login and logoff from a Linux machine (not > remotely). I would suggest looking into the authentication system used on most GNU/Linux distributions: PAM. It may be possible to have PAM perform a custom command when a user logs in or out. I don't think monitoring /dev/console is a very good idea. You would be better monitoring /var/log/auth, /var/log/secure, or /dev/log/wtmp. Another method you could use is the watch feature in tcsh. Hope this helps -- Michael Wardle <michael.wardle@xxxxxxxxxx> Adacel Technologies |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: using fam to monitor login/logoff, Robert Sander |
|---|---|
| Next by Date: | Re: SGI::FAM on redhat 8 PROBLEM!, Michael Wardle |
| Previous by Thread: | Re: using fam to monitor login/logoff, Robert Sander |
| Next by Thread: | Re: SGI::FAM on redhat 8 PROBLEM!, Michael Wardle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |