From owner-freebsd-security Fri Nov 26 0:51:46 1999 Delivered-To: freebsd-security@freebsd.org Received: from smtp.interact.se (smtp1.interact.se [193.15.98.9]) by hub.freebsd.org (Postfix) with ESMTP id D713A14F98 for ; Fri, 26 Nov 1999 00:51:42 -0800 (PST) (envelope-from je@interact.se) Received: from wolfie.interact.se (wolfie.interact.se [193.15.98.202]) by smtp.interact.se (InterACT Mailer) with ESMTP id JAA28337; Fri, 26 Nov 1999 09:52:58 +0100 (CET) Date: Fri, 26 Nov 1999 09:51:08 +0100 (CET) From: Jonas Eriksson To: Dima Cc: freebsd-security@FreeBSD.ORG Subject: Re: Commands execution loging In-Reply-To: <383E47D5.7B264ECB@mmc.net.ge> Message-ID: X-Mascot: Homer Simpson MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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