| 2 | If you get the message: |
| 3 | |
| 4 | {{{ |
| 5 | sudo: can't open /etc/sudoers: Permission denied |
| 6 | }}} |
| 7 | Then check the following:[[BR]] |
| 8 | - Are the sudo permissions correct: /usr/bin/sudo should have 4111 (---s--x--x root root)[[BR]] |
| 9 | - Are the sudoers permissions correct: /etc/sudoers should have 0440 (-r--r----- root root)[[BR]] |
| 10 | - And the not-so-well-documented: The directory containing sudoers (usually /etc) must be readable by the group that owns this directory (not just the user!!) |
| 11 | |
| 12 | |
| 13 | Note that |
| 14 | {{{ |
| 15 | make install |
| 16 | }}} |
| 17 | ensures that the file permissions are correct, but it does not check the /etc-permissions. |