What Is the Root User
In Mac OS X, the “root” user (also known as superuser and the administrative user) is a privileged user who has full read and write rights to all parts of the Mac file system. The main purpose for the root user account is to perform specific administration and monitoring tasks. It is recommended to log off of the root user account after completing a task, and disable it if it is not used often.
Enabling Root User
Mac OS X 10.4.* and earlier
- Click Finder in the Dock.
- Open the Go menu and select Applications
- Open the Utilities folder
- Open NetInfo Manager .
- Click the lock on left-hand side of the window.
- Enter name and password for an administrator account, then press OK.
then
In Mac OS X 10.2 and later, open the Security menu and select Enable Root User
In Mac OS X 10.0 / 10.1, open the Domain menu and select Security. Then from the submenu, select Enable Root User.
- If a root user password has not been previously set, you will see a message on your screen saying “NetInfo Error”. Click on OK.
- Here you can enter the root password. Once entered, click on Set.
- Re-Enter the password and click on Verify for verification.
- Click on the lock again to keep changes.
Mac OS X 10.5 or later
- Open up Finder and then select Utilities from the Go menu.
- Open Utilities Directory.
- Click on the lock in the Directory Utility window.
- Enter name, password for an administrator account, and then press OK.
- Open the Edit menu and select Enable Root User.
- Enter password that you want to use for “root” in the Password and Verify fields and then click on OK.
How To Log In As Root
To log in as root, follow these steps:
- If you’re already logged in, open the Apple menu and select Log Out.
- If you’re logging in using usernames with pictures, then click on Other.
- Type in “root” in the Name box.
- Type in the password in the Password box. This is the one you defined while enabling the root user account.
没有评论:
发表评论