Re: Behavior of mdadm depending on user
From: Michael <hidden>
Date: 2007-07-03 17:28:54
From: Michael <hidden>
Date: 2007-07-03 17:28:54
Michael Schwarz wrote:
The problem with that approach is that it opens up the applications in question to *any parameters* unlike the setuid C program which hardcodes the parameters to the commands.
Take a look at the man page for sudo. It can limit which parameters can be used. You can restrict it so that they can not execute commands with arbitrary arguments. Michael