Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2002 08:51:01 +0100
From:      Axel Gruner <axel.gruner@suedfactoring.de>
To:        Olivier <olinether@studyssimo.be>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How to monitor user commands
Message-ID:  <20021122085101.1983c0b1.axel.gruner@suedfactoring.de>
In-Reply-To: <20021121155159.GA36762@titanjr.blacktrap.net>
References:  <20021121155159.GA36762@titanjr.blacktrap.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Nov 2002 16:51:59 +0100
Olivier <olinether@studyssimo.be> wrote:

> Here is my problem : I have a FreeBSD box with a couple shell
> accounts, accessible through ssh. I would like to be able to monitor
> the commands some users are issuing, and be noticed about when they
> log, how long and what they do, e.g by mail. I know
> 'w','last','lastcomm', etc.. but those don't exactly suit my needs. I
> could examine those users' .bash_history files but this is easy to
> overcome, they could 'export HISTFILE=/dev/null' whenever they login.
> So I need something more reliable... Is there any tool in the ports
> that could do that? Or has anybody done any script or something that
> would help me? Thanks a lot for any ideas

Ever tried the tools "watch"?

asg

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021122085101.1983c0b1.axel.gruner>