from http://apple4.us/m/2008/02/-mac-os-x-root.html
一直以为在 Mac OS X 下没办法以 root 身份登录--这样想的好像不只我一个(看十三楼的留言),所以这个小技巧还是值得一说。
一、打开 Finder 窗口,按 Command + Shift + U 进入 /Applications/Utilities 路径,双击运行 Directory Utility 程序。
二、点击左下角的锁,输入系统密码。
三、点击菜单 Edit 中的 Enable Root User,设置 root 帐户密码,搞掂。
按 Command + Shift + Q 登出后即可以 root 身份登入。
以上是 Mac OS X 10.5 中的方法,其他版本略有不同,详见苹果自家的说明页。
给美国同事写的英文版:
I know how to resolve this:
(1) Open Finder, Press Command + Shift + U, now comes to /Application/Utilities;
(2) Open Directory Utility, click the little lock at left down corner;
(3) It will pop up a Window, waiting for you to enter your password;
(4) Click “Edit” menu, click “Enable Root User” submenu, set the password for “root” user.
(5) Command + Shift + Q, logout and log in as root;
(6) Install SCons as root.