|
|
2006-06-03
, 23:50
|
|
Posts: 190 |
Thanked: 5 times |
Joined on Nov 2005
@ Bee-u-tee-ful Garden Home, Oregon
|
#2
|
so, i need some help here:
- is there an alternative way of getten root permission to fix the mode/owner bits of /etc/sudoers?
|
|
2006-06-04
, 00:43
|
|
Posts: 160 |
Thanked: 1 time |
Joined on Mar 2006
|
#3
|
in the course of customizing entries in /etc/sudoers, i lost the ability to sucessfully execute "sudo gainroot".
here's what happened:
i added some lines to /etc/sudoers and afterwards this file ended with
permissions: -rwxr-xr-x 1 user root.
when trying to do "sudo gainroot" this fails and i et "sudo: /etc/sudoers is mode 0755, should be 0440".
well, i can do a "chgmode 0440 /etc/sudoers" to set the suggested mode, but "sudo gainroot" still fails, this time wit "suduo /etc/sudoers is owned by uid 29999, should be 0".
now, attemting to change ownership (using "chown") fails: root permission required.
so, i need some help here:
- is there an alternative way of getten root permission to fix the mode/owner bits of /etc/sudoers?
_______________
drahnier
|
|
2006-06-05
, 09:30
|
|
Posts: 4 |
Thanked: 0 times |
Joined on Jun 2006
@ Berlin, Germany
|
#4
|
here's what happened:
i added some lines to /etc/sudoers and afterwards this file ended with
permissions: -rwxr-xr-x 1 user root.
when trying to do "sudo gainroot" this fails and i et "sudo: /etc/sudoers is mode 0755, should be 0440".
well, i can do a "chgmode 0440 /etc/sudoers" to set the suggested mode, but "sudo gainroot" still fails, this time wit "suduo /etc/sudoers is owned by uid 29999, should be 0".
now, attemting to change ownership (using "chown") fails: root permission required.
so, i need some help here:
- is there an alternative way of getten root permission to fix the mode/owner bits of /etc/sudoers?
_______________
drahnier
Last edited by drahnier; 2006-06-03 at 17:17.