Date: Sun, 18 Jun 2006 19:29:06 -0700 From: "Lawrence Horvath" <lordsporkton@gmail.com> To: "David Scheidt" <dscheidt@panix.com>, freebsd-questions@freebsd.org Subject: Re: syslog all commands Message-ID: <a1bf75ae0606181929x4056755ev14b1f01c177c5b69@mail.gmail.com> In-Reply-To: <20060619012420.GA20345@panix.com> References: <a1bf75ae0606181806j11a37al719f745c7b43674c@mail.gmail.com> <20060619012420.GA20345@panix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I was kinda hoping for arguments as well, and possibly the time and date of when it was run. On 6/18/06, David Scheidt <dscheidt@panix.com> wrote: > On Sun, Jun 18, 2006 at 06:06:45PM -0700, Lawrence Horvath wrote: > > Date: Sun, 18 Jun 2006 18:06:45 -0700 > > From: Lawrence Horvath <lordsporkton@gmail.com> > > To: freebsd-questions@freebsd.org > > Subject: syslog all commands > > > > Im looking for a way to syslog all commands run my a group of users, i > > was looking at the authpriv.debug but it doesn't log _every_ command, > > is there anyother way to syslog all the commands run by a user? > > > > Is process accounting good enough? It'll record the name of the > commands run by all users, what terminal they were run from, how much > cpu time they used, and start and stop times. > > See the man pages for acct(5) and lastcomm(1). It's turned on by > setting accounting_enable="YES" in /etc/rc.conf, and running > /etc/rc.d/accounting start > > David > I was kinda hoping for arguments as well, and possibly the time and date of when it was run. -- -Lawrence
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a1bf75ae0606181929x4056755ev14b1f01c177c5b69>