Nguyễn Việt Thắng
New member
How do I login as root on Mac?
Answer
Enable or disable the root user
Method 2 Enabling the Root User
Answer
Enable or disable the root user
- Choose Apple menu () > System Preferences, then click Users & Groups (or Accounts).
- Click , then enter an administrator name and password.
- Click Login Options.
- Click Join (or Edit).
- Click Open Directory Utility.
Code:
https://commons.wikimedia.org/wiki/File:Debian_root_user.png
- Press Ctrl + Alt + T to open a terminal window.
- Type sudo passwd root and press ↵ Enter .
- Enter a password, then press ↵ Enter .
- Retype the password when prompted, then press ↵ Enter .
- Type su – and press ↵ Enter .