linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Casper Helenius <casper.helenius@dk.tntfreight.com>
To: linux-admin@vger.kernel.org
Subject: Logging root activity with syslog-ng
Date: Mon, 02 Jan 2006 13:36:06 +0100	[thread overview]
Message-ID: <dpb6np$9cm$1@sea.gmane.org> (raw)

Hi group,

I need to log every root activity on my Gentoo server, running syslog-ng.

I need to log logins (and, if possible, logouts) both by root or by 
users SUDO'ing. I need to log which commands are executed as well as 
their parameters.

Is this at all possible with syslog-ng? And if so, what exactly do I 
need to setup in syslog-ng.conf?

Best regards,

Casper Helenius,
Denmark


             reply	other threads:[~2006-01-02 12:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-02 12:36 Casper Helenius [this message]
2006-01-02 17:04 ` Logging root activity with syslog-ng Glynn Clements
2006-01-02 19:53   ` Stephen Samuel

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='dpb6np$9cm$1@sea.gmane.org' \
    --to=casper.helenius@dk.tntfreight.com \
    --cc=linux-admin@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).