Executable permissions

Linda Knippers linda.knippers at hp.com
Wed Dec 13 16:19:10 UTC 2006


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




More information about the Linux-audit mailing list