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


Click here to return to the 'Huh? NO need to use root!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Huh? NO need to use root!
Authored by: Lectrick on Sep 06, '05 05:44:39PM

I'm pretty sure (at least the latest) OS X will automatically try to authenticate you as an admin user whenever you try to do something outside your normal permissions... which would include saving a file owned by root. So why not just do "Go to Folder..." in the Finder, enter:

/System/Library/CoreServices/Resources/English.lproj

(or whatever your language is)

and then open SystemStarterUI.strings right there with TextEdit? It will try to authenticate you either when you open it or when you save it, but I'm pretty sure that would work.

You could also duplicate the original version as a backup in that directory (authenticating if requested).

Also, if you were to follow the original hint and copy a file back into that directory (owned by root) that was on your Desktop, I'm pretty sure it wouldn't get the correct permissions. If you edit it in-place, it should keep whatever permissions it had. Who still logs in as root?!?!? That should be completely unnecessary.

---
In /dev/null, no one can hear you scream



[ Reply to This | # ]