Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Easily run X11 apps that require root' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Easily run X11 apps that require root
Authored by: timkingman on Feb 12, '04 11:38:37AM
Simply adding "sudo ethereal" to the Applications menu works fine for me, but that's because I have sudo set up to not prompt me for my password. Since we all know this is a grave security risk, you can have sudo not prompt for your password only when running Ethereal by adding this line to the end of /etc/sudoers :
yourusername  ALL=(root) NOPASSWD:/path/to/ethereal
replacing "yourusername" with your user name and "/path/to/etheral" with the full path to ethereal. (Mine is /opt/local/bin/ethereal from darwinports, find yours by running "which ethereal" at a command prompt.)

[ Reply to This | # ]