View previous topic :: View next topic |
Author |
Message |
ashtophet Guru
Joined: 08 Aug 2004 Posts: 397
|
Posted: Thu Nov 04, 2004 10:40 pm Post subject: [SUDO] can't open /etc/sudoers - permission denied [PENDING] |
|
|
That's the message that i get when i try to run any of the programs i used to run with sudo (a month ago).
/etc/sudoers is chmoded 0440
sudo-1.6.7_p5
Edit1.- Of course /etc/sudoers file is correctly edited to the current user. |
|
Back to top |
|
|
Rav70 l33t
Joined: 11 Feb 2004 Posts: 607 Location: Poland
|
Posted: Fri Nov 05, 2004 8:35 am Post subject: |
|
|
Maybe your sudo is missing the SUID bit? Try:
It should give:
Code: |
---s--x--x 1 root root 105224 May 28 09:27 /usr/bin/sudo
|
If the perms are not like that try:
Code: |
chmod 4111 `which sudo`
|
Regards,
Rav _________________ Q: Why is Microsoft's Product Support a failure?
A: Because Microsoft needs a Support Group instead. |
|
Back to top |
|
|
ashtophet Guru
Joined: 08 Aug 2004 Posts: 397
|
Posted: Fri Nov 05, 2004 9:18 am Post subject: |
|
|
thanX for answering, but the binary permissions were O.K.
Note: if i run sudo as root, same error message is given. Already tried --> emerge -C sudo ; emerge -v sudo <-- removed /etc/sudoers. Also installed sudo-1.6.8_p1-r1, but same weird thing happens. |
|
Back to top |
|
|
|