I installed Centos 6.2 minimal x86_64 server in Virtual Machine Manager. After installed I created Username in the server. And I added the User into a wheel group.

    # useradd testuser
    # passwd testuser

    # usermod -aG wheel testuser

Now my problem is, I want to give the root privileges to the User which I created. Some websites given that edit the sudoers file. But sudoers file is not under the /etc folder.

Where is the Sudoers file in Centos 6.2 & How to give the Root privileges to the User.

  • Hey rajcoumar I think you should close the question by marking the answer correct ;D .
    – beginer
    Commented Jul 17, 2014 at 20:56

1 Answer 1


Sudo is not present in the minimal ISO. You can install using:

yum install sudo

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .