Hi
Originally Posted by
doctorproctor
Greetings -- I (and all other admin group members) can no longer run sudo on Ubuntu Server 10.04 LTS as we receive the following group ID error:
"/etc/sudoers is owned by gid 113, should be 0"
How can we replace the file sudoers with one with correct permissions? A quick search suggests that recovery mode is the only way, though I'd need to convey appropriate instructions to my IT people as I don't have physical access to the (virtual) server and have no idea how it's done in Ubuntu Server.
Many thanks,
Jim
Did somebody chown the sudoers files ? Did they change the ownership of any other system files ?
I would be concerned what other system files may have changed.
You may need to boot into a LiveCD/USB to change it back after mounting it .
Code:
chown 0:0 <mount_point>/etc/sudoers
Make sure the permissions are 440
Code:
chmod 440 <mount_point>/etc/sudoers
As i said before though, have the permissions of any other system file changed ?
You need to find out how this happened.
Out of interest which group is 113 ?
Code:
grep 113 /etc/group
Kind regards
Bookmarks