Subscribe to
Posts
Comments
NSLog(); Header Image

Got Root?

I've tried to explain to my mom why "users" are necessary on Mac OS X, but eventually I sent her to read this article which uses a house/apartment analogy. She "gets it" now.

The article mentions "su" and "su -" as being different, and they are. My business partner and friend Andy uses "sudo -s" and hasn't enabled root on his machine. I have, and when I need to "sudo" more than two commands in a row, I just su to root and get my work done (carefully).

I'm not sure what the advantage to doing sudo -s are, but maybe I'll use that for awhile instead. Maybe I'll alias "su" to "sudo -s" to force myself to use it… After all, I already have "et" aliased to "exit." It's one-handed and half as long 🙂