All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Recording user command ?
Date: Thu, 26 Apr 2007 11:10:05 -0400	[thread overview]
Message-ID: <200704261110.05440.sgrubb@redhat.com> (raw)
In-Reply-To: <451eaded0704260732m772cc8feudf977830cbb4d556@mail.gmail.com>

On Thursday 26 April 2007 10:32, Gavin White wrote:
> In addition to recording system calls, file activity etc, I would like
> to record issued commands, ie. anything typed into a shell by a user.
>
> Is this a reasonable thing to do with auditd? Is it possible?

Well, there are 2 kinds of users, root and everyone else. What everyone else 
does cannot be logged by the session they are running in because it does not 
have enough privileges to log to the audit system.

For the root user, it has enough privileges to log. We are working on a 
solution for this problem. I think most security targets are only interested 
in actions performed by the root user since they can affect the machine in 
many ways.

So, as it stands today, it can't be done with the audit system. We hope to 
have something that starts to address the problem soon.

-Steve

      reply	other threads:[~2007-04-26 15:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-26 14:32 Recording user command ? Gavin White
2007-04-26 15:10 ` Steve Grubb [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=200704261110.05440.sgrubb@redhat.com \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.com \
    /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.