In Mac OS X 10.6, how do I give myself permanent sudo privleges? is it like linux, in the "/etc/sudoers" file?
Not exactly experienced in OSX, but it seems to be located in either one of the following:
It is recommended that you use visudo to edit the file but you can use another text editor.
Under the line that says
You add the name of the user and
Unlock the root account.
Steps to unlock "root" in Mac:
•1.Open Directory Utility (/Applications/Utilities/Directory Utility.app)
•2.Go to Edit > Enable Root User
•It will prompt for password,press ok for BLANK password.
Logout,then type root in Username and your IN!!!!!!!! (Note:Make Sure that NAME & PASSWORD IS CHECKED IN LOGIN OPTIONS.)
You can, of course, edit
But Mac OS X's System Preferences has a method built-in to achieve the same thing: Give the user an Administrator account, instead of a Standard account, and it will be added to
Users will still need to enter their own password though, which is a good thing (tm).
sudo in OSX is exactly like that under Linux, and like Linux man sudo shows the details
/etc is a symbolic link to /private/etc so your suggestion of /etc/sudoers will work.