public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* help- auditing sys admin commands
@ 2011-12-02  3:12 MS PRAVEEN
  2011-12-02 13:48 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: MS PRAVEEN @ 2011-12-02  3:12 UTC (permalink / raw)
  To: linux-audit


[-- Attachment #1.1: Type: text/plain, Size: 257 bytes --]

Can some body help me here to find a rule/ solution to audit only commands
are its arguments executed by users and  root . I dont need any more other
events audited  since that can fill my free space .

Please help me here
-- 
Thanks & Regards,
Praveen M S

[-- Attachment #1.2: Type: text/html, Size: 299 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: help- auditing sys admin commands
  2011-12-02  3:12 help- auditing sys admin commands MS PRAVEEN
@ 2011-12-02 13:48 ` Steve Grubb
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2011-12-02 13:48 UTC (permalink / raw)
  To: linux-audit; +Cc: MS PRAVEEN

On Thursday, December 01, 2011 10:12:48 PM MS PRAVEEN wrote:
> Can some body help me here to find a rule/ solution to audit only commands
> are its arguments executed by users and  root . I dont need any more other
> events audited  since that can fill my free space .

Well, the problem is how can you tell a command being executed from a script calling 
various programs? Also how can you tell that a file being sourced is a command? (I 
think in that case a file is opened for read and the shell executes it.) I think the 
bottom line is its pretty hard to tell.

So, what we have is key stroke logging. This gets more than commands, but wouldn't you 
want to log what people do if its that important? If someone knew that only commands 
are being logged, they could start python and just start typing commands which won't 
be otherwise logged. There is a man page for this, pam_tty_audit.

-Steve

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-02 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-02  3:12 help- auditing sys admin commands MS PRAVEEN
2011-12-02 13:48 ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox