Not require sudo for running specific application as root
hal at burgiss.net
Thu Apr 22 16:49:12 UTC 2010
On Thu, Apr 22, 2010 at 11:55 AM, C de-Avillez <hggdh2 at ubuntu.com> wrote:
> On Thu, 2010-04-22 at 11:28 -0400, Hal Burgiss wrote:
>> On Thu, Apr 22, 2010 at 11:12 AM, Dotan Cohen <dotancohen at gmail.com> wrote:
>> > A user needs to run a specific application as root. I have finally
>> > convinced him not to run the whole desktop as root, but now he must
>> > precede the command to run the application with "sudo -i".
>> Sounds like this is what you guys need:
> Setting a programme 'setuid' to root is an extreme action, and should
> not be done without a full analysis of the risks.
There is some risk in everything, so yes, don't do something stupid. I
have 43 programs on my system that are suid root (all from Ubuntu),
including things like the beep command, so there is a place for
non-root users to run things as root. I'll leave it to the OP to
decide the risks vs benefits.
More information about the ubuntu-users