sudo: /etc/sudoers is owned by gid …, should be 0

If you get an error message as below :

sudo: /etc/sudoers is owned by gid 5876, should be 0

(The GID number is here just an example)
The group owner of the file /etc/sudoers is not the good one. As root, do the following change :

root@localhost:~#chown root:root /etc/sudoers

Check whether this file has the good rights otherwise :

root@localhost:~# chmod 0440 /etc/sudoers

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s