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


Click here to return to the 'A simple way to launch GUI apps as root' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A simple way to launch GUI apps as root
Authored by: GlowingApple on Jul 16, '04 12:36:00PM

This seems to work great for applications, so for editing text files and plist files and such it will be very helpful. However, is there any way to open a path as root using Finder? Using the open command is the only way I can see, but as that post mentioned, sudo open doesn't actually open the path as root. I have tried specifying the entire path of Finder (sudo -b /System/Library/.../Finder.app/Contents/.../Finder) followed by the path of the folder I want to open as root. My dock flashes briefly, as if Finder were relaunched, but that's all I see. When I look at what applications are running, I have another Finder running. The only way I can see how this would work is to do a killall on Finder, and then open Finder as root. Would this essentially give me root access on folders? I could then killall Finder when I'm done and launch it as my normal user. Any idea if this is what I would need to do, or is there any way to just open a single folder as root???

---
Jayson

When Microsoft asks you, "Where do you want to go today?" tell them "Apple."



[ Reply to This | # ]
root Finder
Authored by: r0n on Jul 19, '04 05:23:48AM

I think there was a hint for this since 10.1:

just copy /System/Library/.../Finder.app/ to anywhere and rename it Finder2.app or whatever. Now you´re able to drag´n´drop Finder2.app on Pseudo to run as root.

However then there are two Finders running (the User Finder and the pseudo-root copy) sharing the same Dock Icon. In Panther you could distinguish between the User and Root mode windows: The sidebar will contain "root" and the whole finder window configuration might appear different..

Since it´s a bit messy to quit the Finder from Dock if you were adding the 'quit' menu entry (gonna be relaunched instantly sometimes...) i prefer killing the Root-Finder from Terminal or ActivityMonitor utility.



[ Reply to This | # ]