From: "Erik Wikström" <eriwik@itstud.chalmers.se>
To: netfilter@lists.netfilter.org
Subject: Re: [OT] Linux user logging
Date: Sat, 17 Jul 2004 14:11:21 +0200 [thread overview]
Message-ID: <20040717121121.GA47889@itstud.chalmers.se> (raw)
In-Reply-To: <40F7EAE9.4070800@pbl.ca>
On Fri, Jul 16, 2004 at 09:49:13AM -0500, Aleksandar Milivojevic wrote:
> Michael Gale wrote:
> >Hello,
> >
> > I know this is not a netfilter question but I was wondering if any
> > one knows of a way to log all user activity. So if a
> >user logs in via a SSH connection I would like to log all user activity.
> >What files the view or alter and any other
> >commands ?
>
> Yup, completely OT for this mailing list...
>
> What you are looking for is called auditing. There are some projects
> for implementing it on Linux, but AFAIK nothing final and stable. If I
> understood it correctly (and I might be completely wrong here), the
> major problem is that core group of Linux kernel developers is reluctant
> in putting appropriate auditing hooks into kernel (not even as an
> compile time option for those that need it), for whatever reason.
>
> Note that good auditing is not trivial to configure, and depending on
> what you want to log, auditing can produce *huge* log files.
You might be interested in looking at BSD Process Accounting, which can
be found under General Setup in the kernel configuration. It should give
you information about which processed a user run and such things.
I also have a option called Enable Auditing (also under General Setup)
in my 2.6.7 kernel. Both of these probably need some userland tools but
I'm sure a search can give you what you need.
--
Erik Wikström
prev parent reply other threads:[~2004-07-17 12:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-15 21:14 Linux user logging Michael Gale
2004-07-15 21:31 ` [OT] " Antony Stone
2004-07-15 23:14 ` Predrag Petrovic
2004-07-16 14:49 ` [OT] " Aleksandar Milivojevic
2004-07-17 12:11 ` Erik Wikström [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040717121121.GA47889@itstud.chalmers.se \
--to=eriwik@itstud.chalmers.se \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.