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 |
|||||||
|
|
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. |
|||
|
|
dd if=/dev/urandom of=/dev/sda? In all seriousness, though giving yourself constant root permissions is possible, you shouldn't do it. – TK Kocheran Dec 13 '12 at 2:09