[openbox] "root command" in autostart.sh

Christian Larsson larsson at odus.se
Mon Jul 30 13:50:31 EDT 2012


2012/7/30 stefanozanobini <stezano at gmail.com>

> Due to problems with nm-applet (network manager tray icon), I should start
> it as root.
> Is it possible to start as root a programm with autostart.sh?
> Something like "sudo nm-applet" (but without password request!)
>
> thanks
> ste
>
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
>
>
Something like this in /etc/sudoers should do it:

user ALL=(ALL) NOPASSWD: /usr/bin/nm-applet, PASSWD:ALL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20120730/e2799a40/attachment.htm>


More information about the openbox mailing list