Hi,

This might be coz of sudoers file which might be corupted for some reason
or ur system unable to read sudoees file .....

Try the following....
Check if you have any invalid or extra char in sudoers file

Try mannuly changing the file permission

If you have any group permission im sudoers file remove that and add just
user level permission and execute the file (ie) remove isergroups from wheel

Finally cp sudoers file from other centos box to rhis one and try using
that ... This final step will  fix ur problem...

Rg,
Sathya
On May 7, 2014 3:03 AM, "Zico" <[email protected]> wrote:

> Hello everyone,
>
> In one of my centOS system, lately I changed it's hostname and my user lost
> it's sudo rights. I tried to add this user again with usermod -a -G wheel
> test_user and with visudo I commented out "%wheel  ALL=(ALL)  ALL" but
> nothing is changing.
>
> Any suggestion?
>
> --
> Best,
> Zico
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
> ILUGC Mailing List Guidelines:
> http://ilugc.in/mailinglist-guidelines
>
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to