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


Click here to return to the 'Any app run as root' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Any app run as root
Authored by: jimr on Oct 17, '01 01:51:58PM

seems that if you use sudo to launch apps from the command-line
like a thread running parallel to this is discussing,
whatever you select from the apple menu while the app is running will be run as root.
except, Netinfo Manager still seems to want a password....

this probably goes for the GUI sudo utilities as well.

sure is convenient to run BBEdit as root to edit config files.

.......lock your machine when you are away.





[ Reply to This | # ]
Also true, but...
Authored by: serversurfer on Oct 17, '01 07:27:00PM

Hopefully, anyone in your sudoers group (wheel) can be trusted not to abuse this. But sudo in not exactly the same as su, so I hope Apple corrects this soon. Apparently, the Apple Menu is built by the frontmost app, and has all the privileges of the controlling user (in this case root). The solution would be to make sure the Apple Menu only has the privs of the logged in user. However, this may be easier said than done. ;)



[ Reply to This | # ]