It's easy to understand with RunAs and selected CmdLines. Can you give an example of "host restriction"? It's so obscure that it's almost impossible to imagine the usefulness that this function brings.
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...
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 ?
Wow! still didn't work. This is like the 10th instruction I've tried... I'm so over it at this point, just for a stupid, simple change that I am the legit user of anyway!
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.
Finally, it worked. I just had to reset my laptop for it to take affect
It's easy to understand with RunAs and selected CmdLines. Can you give an example of "host restriction"? It's so obscure that it's almost impossible to imagine the usefulness that this function brings.
So. what do we do if this doesn't work at all?? lol
make sure to type in lower case......
thanks mate. very easy to follow
No problem 👍
Super thanks, you are a genious, just saved a man here trying to save the semester!!!
This didn’t work when I type exit it closes my whole terminal and still says I’m not in the sudoers list
Same happened to me. Did you find a solution?
problem is: i don't know my root pw :D i can't remember if there was any pw i was asked to set...
THANK YOU SO MUCH.❤❤❤❤
Thank you bro youre a live safer
It worked. Thank you.
It didnt work for me. Still having the same user is not Sudoer error ........ really frustrating
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...
Thank you so much
thank you , you saved me
I did what you said here on RHEL, but an error occurred saying that the user is not in sudoer file.
Log out and re-log in. That would help.
Nice work
Thank you! Cheers!
Why do i have type sudo everytime😢😢😢😢
Thanks alot this helped me so much please can we talk
When I made my %mygrp it cant find that sudo privilege group
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
mine does autentication failuire..
Type sudo su -u
sorry bat wei i crete a first user ask my for room ??
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 ?
Thanks Sandeep! Sorry I’m not sure how to help you with this one
new guy su - was my ticket changed user and installed proxychains4 , off to next issue lol
Haha, goodluck
works thanks)
Hi tony. how can i change a user password for not access to ssh thanks ...
Passwd
Wow! still didn't work. This is like the 10th instruction I've tried... I'm so over it at this point, just for a stupid, simple change that I am the legit user of anyway!
Not clear
mine automatically goes authentication falure 0:31
Try to prefix the command with sudo
When I type in whoami it says the user is root. Does that mean I gave all my root privileges to this user?
Are you logged in as root or another user?
@@TonyTeachesTech I was logged in as my sudo non-root user. Now its ok though, problem is fixed now. Thank you for responding.
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.
The pass of the actual user. For instance, if you create a user named "A" with a pass of "B", you should type "B" after using sudo.
How do you get the root password?
That's something you should have been told or was defaulted to something