[openbox] "root command" in autostart.sh

Ian Zimmerman itz at buug.org
Wed Aug 1 18:06:10 EDT 2012


Ian> You can easily configure sudo to not ask for passwords in specific
Ian> circumstances, such as when executed by a specific user.

Christian> Something like this in /etc/sudoers should do it:
Christian> user ALL=(ALL) NOPASSWD: /usr/bin/nm-applet, PASSWD:ALL

ste> should I write something like this in "autostart.sh":
ste> (sleep 4s && sudo nm-applet --sm-disable) & or shall I write the
ste> command without "sudo"?

What Christian wrote was just the _configuration_ for sudo, i.e. what I
meant by 'You can easily configure sudo'.  You'll need _both_ that and
the command in autostart.sh (plus the xauth trickery as I wrote) if you
are sticking with sudo and not using the ssh workaround.

-- 
Ian Zimmerman
gpg public key: 1024D/C6FF61AD
fingerprint: 66DC D68F 5C1B 4D71 2EE5  BD03 8A00 786C C6FF 61AD
http://www.gravatar.com/avatar/c66875cda51109f76c6312f4d4743d1e.png
Rule 420: All persons more than eight miles high to leave the court.


More information about the openbox mailing list