The Purpose of 'Root' SU account in Mac OS X

The Purpose of 'Root' SU account in Mac OS X

 

The 'root' account in Mac is not enabled by default. This is because it helps prevent users or intruders gaining access to 'root'  which has God read/write privileges to all areas of the Mac OS system. Since it acts as a God account of the system, it can be leveraged to quickly troubleshoot, access, or administer parts of Mac OS other accounts can't as easily. Apple does not recommend this account to be enabled and suggests to 'sudo' for elevated privileges.

 

From Apple's site, here's how to enable the 'root' user.

 

OS X Lion (10.7) and later

  1. From the Apple menu choose System Preferences.
  2. Enable su Account Part 1
  3. From the View menu choose Users & Groups.
  4. Click the lock and authenticate as an administrator account.
  5. Click Login Options.




  1. Enable su account Part 2
  2. Click the "Edit" or "Join" button at the bottom right.
  3. Click the "Open Directory Utility" button.
  4. Enable su Account Mac X 3
  5. Click the lock in the Directory Utility window.
  6. Enter an administrator account name and password, then click OK.
  7. Choose Enable Root User from the Edit menu.
  8. Enable Su Account Mac X Part 4
  9. Enter the root password you wish to use in both the Password and Verify fields, then click OK.
  10. Enable Su Account Mac X Part 5
  1. Validate root. Open terminal and type 'su'
  2. Enable Su Account Mac X Part 6

Mac OS X Snow Leopard (10.6.x)

  1. From the Apple menu choose System Preferences.
  2. From the View menu choose Accounts.
  3. Click on the lock and authenticate with an administrator account.
  4. Click Login Options.
  5. Click the "Edit" or "Join" button at the bottom right.
  6. Click the "Open Directory Utility" button.
  7. Click the lock in the Directory Utility window.
  8. Enter an administrator account name and password, then click OK.
  9. Choose Enable Root User from the Edit menu.
  10. Enter the root password you wish to use in both the Password and Verify fields, then click OK.
* Please use the comment form below. Comments are moderated.*



Related Posts

 

Comments

No comments made yet. Be the first to submit a comment
Tuesday, 16 April 2024