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


Click here to return to the 'Don't enable root' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Don't enable root
Authored by: Wevah on Dec 10, '02 02:49:53PM

You can also do this (in the Terminal):

% sudo -s

Then enter your admin password. Then,

% defaults write 'Apple Global Domain' AppleAquaColorVariant 6

and then exit the root shell. Next time you log in, all root-owned widgets should be graphite-ified.



[ Reply to This | # ]
Don't enable root
Authored by: babbage on Dec 10, '02 04:09:49PM

Better still, just do:

% sudo defaults write 'Apple Global Domain' AppleAquaColorVariant 6

That way you don't even spawn a root shell. It can't be stressed enough that enabling the root account (or even just using root shells with 'sudo -s') is almost *always* a bad idea on OSX. There is almost nothing that cannot be done adminstratively when you have access to the sudo system, and it has nice features for auditing what actions were taken with administrative priviliges. This isn't perfect & won't always protect you, but arguing that these imperfections make sudo not worth using is like arguing that acrobats shouldn't use safety nets or couples shouldn't use condoms. It's just a smart thing to do.

Be safe. Use sudo. Never turn on your root account unless you *really* know what you're up to and can't accomplish it via sudo. I have a hard time believing that there are any jobs that sudo can't do...



[ Reply to This | # ]