OPERATING SYSTEMSOS Linux

How to Give a User Sudo Privileges in Ubuntu

Learn how to add a user to the sudoers group and give the user sudo rights and privileges in Ubuntu.

Find more at https://tonyteaches.tech
Check out my vlog channel @TonyFlorida

#ubuntu #sudo

source

ubuntu

23 thoughts on “How to Give a User Sudo Privileges in Ubuntu

  • Finally, it worked. I just had to reset my laptop for it to take affect

  • problem is: i don't know my root pw 😀 i can't remember if there was any pw i was asked to set…

  • It didnt work for me. Still having the same user is not Sudoer error …….. really frustrating

  • Hi tony. how can i change a user password for not access to ssh thanks …

  • Why would you add user to sudo group if it is just same as calling "sudo sth" function? I thought there would be sth like not typing password but there is no difference…

  • I did what you said here on RHEL, but an error occurred saying that the user is not in sudoer file.

  • Hi Tone. After you added the user to the sudoer group, and the user used sudo before a command what password is he supposed to enter?
    In other words, what password did you enter after sudo whoami.

  • This didn’t work when I type exit it closes my whole terminal and still says I’m not in the sudoers list

  • Can someone help me , i had to create user names and give a certain user Sudo group access how do i do that , i know it’s using the chmod but I’m lost

  • new guy su – was my ticket changed user and installed proxychains4 , off to next issue lol

  • Its will ask for sudo password. How to give password-less sudo access?

  • When I made my %mygrp it cant find that sudo privilege group

  • Hello tony, Nice work, I am not root user, using bastion server as as a user and connection rest of instances. can i create the new user ?
    also i tried $sudo adduser user1 and getting [sudo] password for ******:
    as am using pem file then how to keep sudo password for ?

  • When I type in whoami it says the user is root. Does that mean I gave all my root privileges to this user?

Comments are closed.