With the help of sudo command we allow normal user to performe as root user privileges .Means normal user can perform operation which is only permitted to root user only.Below is step by step process to add user in sudo privilege.

1.Login to server using root user

2.Add the user with following command

useradd username

3.Create password for the username

passwd username

4.Now add this user to wheel group which allow it access sudo privileges

gpasswd -a username wheel
usermod -G wheel username

Now you can access the sudo privilleges login with new the user with following command and access the sudo

su - username
sudo cd /root

To remove user from sudo privillege simply remove it from wheel group

gpasswd -d username wheel
Was this article helpful?


  1. vurtilopmer

    I’ll immediately take hold of your rss feed as I can not find your email subscription link or newsletter service. Do you have any? Please allow me recognise in order that I may subscribe. Thanks.

  2. g

    Great goods from you, man. I’ve understand your stuff previous to and
    you’re just extremely excellent. I actually like what you have acquired here, certainly like
    what you are stating and the way in which you say it.
    You make it entertaining and you still care for to keep it sensible.
    I can not wait to read much more from you. This is really a terrific web site.

  3. g

    If you want to take a great deal from this piece of writing
    then you have to apply these techniques to your won web site.

  4. g

    Ahaa, its nice discussion about this paragraph at this place at this website, I have read all that, so at this
    time me also commenting at this place.

Leave a Reply

Your email address will not be published. Required fields are marked *