public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Linda Knippers <linda.knippers@hp.com>
To: Steve Grubb <sgrubb@redhat.com>
Cc: linux-audit@redhat.com
Subject: Re: Executable permissions
Date: Wed, 13 Dec 2006 11:19:10 -0500	[thread overview]
Message-ID: <458027FE.6010709@hp.com> (raw)
In-Reply-To: <200612131111.42083.sgrubb@redhat.com>

Steve Grubb wrote:
> On Wednesday 13 December 2006 11:00, Karl MacMillan wrote:
> 
>>Is there a reason that the audit tools that take a file name paramater
>>(-if) are not executable by non-root users?
> 
> 
> Current tools do not.
> 
> [root src]# grep getuid *.c
> auditctl.c:             if (getuid() != 0) {
> auditctl.c:             if (getuid() != 0) {
> 
> Must be root to send netlink
> 
> auditd.c:       if (getuid() != 0) {
> 
> Must be root to read netlink
> 
> autrace.c:      if (getuid() != 0) {
> 
> Must be root to write to netlink.

I think Karl is talking about the mode bits.  The audit tools
are 750, owned by root,root, on my system, so not executable
by non-root users.

-- ljk

  reply	other threads:[~2006-12-13 16:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-13 16:00 Executable permissions Karl MacMillan
2006-12-13 16:11 ` Steve Grubb
2006-12-13 16:19   ` Linda Knippers [this message]
2006-12-13 16:20   ` Karl MacMillan
2006-12-13 17:14     ` Steve Grubb

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=458027FE.6010709@hp.com \
    --to=linda.knippers@hp.com \
    --cc=linux-audit@redhat.com \
    --cc=sgrubb@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