[patch 058/209] audit: rework execve audit

Peter Zijlstra a.p.zijlstra at chello.nl
Fri Jul 27 21:55:43 UTC 2007


On Fri, 2007-07-27 at 16:57 -0400, Steve Grubb wrote:

> I don't know of anything special its a fully updated rawhide machine. I am not 
> running any tests, this is at the prompt in runlevel 3. I have audit=1 as a 
> boot parameter in grub.conf and very simple audit rules for that machine:
> 
> -D
> -b 256
> -a exit,always -S sethostname
> -w /etc/selinux/config
> 
> which is not exotic.

I'm feeling dumb,.. on fedora 7 userland I do:

[root at opteron ~]# auditctl -D
No rules
[root at opteron ~]# auditctl -b 256
AUDIT_STATUS: enabled=0 flag=1 pid=0 rate_limit=0 backlog_limit=256 lost=0 backlog=0
[root at opteron ~]# auditctl -a exit,always -S sethostname
Error sending add rule request (Invalid argument)

man auditctl seems to suggest that is a valid command.




More information about the Linux-audit mailing list