From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Logging parameters
Date: Tue, 18 Oct 2016 11:15:41 -0400 [thread overview]
Message-ID: <5130648.4jH5xl2vBO@x2> (raw)
In-Reply-To: <CACy5G63YQu85ZP-0p8WX0fU_cNea85OAC3=tkH3MPPE6tnXkmg@mail.gmail.com>
On Tuesday, October 18, 2016 4:59:58 PM EDT Nil . wrote:
> Hi, i would like to know if it is possible to log the parameters that a
> command get's passed on,
> i.e in the command ' ls -la', the logs only show comm="ls" and i would like
> to have the full comm="ls -la".
> is it possible anyhow using audit logs? do you know any other way to log
> those parameters?
These are captured in the PROCTITLE record of the event. If you do not have
that record attached to events, then you need a newer or patched kernel. So,
you should have it on a recent kernel.
-Steve
prev parent reply other threads:[~2016-10-18 15:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-18 14:59 Logging parameters Nil .
2016-10-18 15:15 ` 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=5130648.4jH5xl2vBO@x2 \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox