Re: Dropping auid for daemons started via sudo

2010-05-17 Thread Steve Grubb
On Monday 17 May 2010 09:32:15 am Konstantin Ryabitsev wrote: > It mostly does the right thing, except for cases when an admin logs in > and restarts a service. If it's running a privileged process, that > process will have an auid of the user that last ran "service foo > restart". Yep. > Is th

Dropping auid for daemons started via sudo

2010-05-17 Thread Konstantin Ryabitsev
Hello: I'm dealing with a set of machines with unrestricted sudo for admins ("sudo -s"). It's not something I can immediately change (though I'm working toward a more restrictive attitude and policy). I'm trying to at least do some auditing via the following audit rule: -a always,exit -F arch=b32