Not require sudo for running specific application as root

C de-Avillez hggdh2 at ubuntu.com
Thu Apr 22 15:55:49 UTC 2010


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:
> 
> http://www.cyberciti.biz/faq/unix-bsd-linux-setuid-file/

Setting a programme 'setuid' to root is an extreme action, and should
not be done without a full analysis of the risks.

Instead, perhaps it would be enough to:

(1) set /etc/sudoers to allow the user to run this application without a
password;
(2) creating a menu item to launch it as'gksu -S /path/to/application' 

..C..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100422/d925d3f6/attachment.sig>


More information about the ubuntu-users mailing list