Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 1999 09:51:08 +0100 (CET)
From:      Jonas Eriksson <je@interact.se>
To:        Dima <dima@mmc.net.ge>
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: Commands execution loging
Message-ID:  <Pine.BSF.4.10.9911260949280.68135-100000@wolfie.interact.se>
In-Reply-To: <383E47D5.7B264ECB@mmc.net.ge>

index | next in thread | previous in thread | raw e-mail


On Fri, 26 Nov 1999, Dima wrote:

> I have several users with shell (bash, sh) in my FreeBSD 3.2 system. I'd
> like to log all commands (for security reasons) they type and execute.
> Is there any possibility to pass all commands to syslog? I know about
> .bash_history and .history, but they are stored in users directory and
> without time of command execution, and I want to have records like
> "user    time    command".

Check accton(8) and lastcomm(1)

You could also search for this subject in the maillinglist archives.


-- Jonas Eriksson



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



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9911260949280.68135-100000>