Friday, June 13, 2008

Enable root on Mac

Update Enabling the root user in Snow Leopard (OS X 10.6) has changed some what. See http://snowleopardtips.net/tips/enable-root-account-in-snow-leopard.html for how to do it.

I can understand why Apple probably intentionally put this feature in a pretty obscure place. But after having to repeat every command and prepending it with sudo while getting a MySQL server instance up and running I had had enough. To enable you to su in the terminal:

Launch the NetInfo Manager utility found in /Applications/Utilities

Security > Enable Root User

You will get a warning the root password is blank, followed by a new password dialog box. After you setup a password you're good to go.

No comments: