View Single Post
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#15
Originally Posted by Matan View Post
Add the application to sudoers by creating a file called
/etc/sudoers.d/emelfm2.sudoers containing:
user ALL = NOPASSWD: /usr/bin/emelfm2
Then use Exec = /usr/bin/sudo /usr/bin/emelfm2
or Exec = osso-xterm "sudo emelfm2"
Now that^ can FUBAR your device if you don't know what you are doing.

Originally Posted by qwerty12 View Post
...
For future reference: Use visudo instead of editing sudoers directly. visudo tells you if a line will **** up the entire sudo system when exiting the editor.
The simple addition of an extra space in a line while editing with a plain ol' text editor will screw things up...
__________________

SLN member # 009
 

The Following User Says Thank You to YoDude For This Useful Post: