Enable Sudo in OS X

From Zanecorpwiki

Jump to: navigation, search

To add a specific user:

  1. enable root
  2. su to root
  3. add the user to 'wheel'
  4. run 'visudo'; add the line 'user ALL=(ALL) ALL' where 'user' is the user name you're enabling

NOTE: unlike Linux, you will use the user's password, not the root password when you sudo.

Personal tools