Everything You Need to Know About sudo | Linux Essentials Tutorial

Everything You Need to Know About sudo | Linux Essentials Tutorial

Akamai Developer

2 года назад

38,918 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@serakshiferaw
@serakshiferaw - 08.01.2024 20:17

q on visudo is just wrong. it should be something like wq! , i will assume q is just quit

Ответить
@kennethjakobsen7295
@kennethjakobsen7295 - 28.08.2023 00:42

I really love the part, of giving partial root access.

Ответить
@jakspica
@jakspica - 07.06.2023 23:55

I am literally brand new to Linux so these videos have been helpful.
on a completely unrelated note, I hope you fixed that multi-frame poster on the wall behind you...

Ответить
@user-ch2ix9su8g
@user-ch2ix9su8g - 31.05.2023 20:06

Please what does sudo bash do?

Ответить
@peerullahhussainy7610
@peerullahhussainy7610 - 12.04.2023 17:31

Excellence 🎉giveaway thanks 😊

Ответить
@casabasari
@casabasari - 20.03.2023 21:06

Jay, maybe you can give me an advise. I have a bash script that will be executed by a no-root user , but in the script needs to run a chown command (root privilege) what is the safer way to do it?? should i add the user to the sudoers file with the privilege to run chown command? Its a good practice to have sudo command within a script?

Ответить
@RichardFreeberg
@RichardFreeberg - 20.01.2023 08:47

Many thanks. Nice instructional video!

Ответить
@weignerg
@weignerg - 20.11.2022 18:47

S u d oh!

Ответить
@PunitChoudhary
@PunitChoudhary - 24.10.2022 19:33

"sudo !!"
It is going to help me a lot, thank you!!

Ответить
@Ethorbit
@Ethorbit - 17.10.2022 17:21

Your tutorials are very appreciated; they are clear and well thought out so that every possible question is answered and there is no confusion leftover, with some side knowledge showing useful tricks (like !! enters the previous command, I did not know this!)

Ответить
@kakyoin4535
@kakyoin4535 - 07.10.2022 15:40

thanks babe

Ответить
@saintpou5418
@saintpou5418 - 19.08.2022 20:51

YOU SHOULD NEVER USE "Q"!!

Ответить
@jprathap8393
@jprathap8393 - 22.07.2022 17:59

Why we need to put sudo for tux user when it is configured just like root .

Ответить
@KaiBuskirk
@KaiBuskirk - 14.07.2022 04:43

Super Cool! Thanks!

Ответить
@themistoclesnelson2163
@themistoclesnelson2163 - 26.06.2022 23:08

Thanks

Ответить
@behindthescene2727
@behindthescene2727 - 25.06.2022 19:08

just gratitude to the makers n explainer

Ответить
@anirbanc88
@anirbanc88 - 14.06.2022 00:55

you are a linux god man!!!!

Ответить
@darrinswanson
@darrinswanson - 11.06.2022 17:55

Can you have multiple lines for a user which will give sudo access to some commands with password verification and other commands bypassing the need for password verification?

Ответить
@hoterychannel
@hoterychannel - 02.06.2022 18:29

What the best/correct way to login as root or another user?

Ответить
@hoterychannel
@hoterychannel - 02.06.2022 18:28

Interesting thing with sudoedit is it don't know some settings (at least version on debian 10) and show warning when file are 100% correct, so it can lead to skip and save file with actual mistake

Ответить
@runnerlinux1474
@runnerlinux1474 - 01.06.2022 18:20

Thank you Teacher for all yr teaching...
Everytime I got new thing to learn from u ..
U are awesome ⭐

Ответить
@simonbaxter8001
@simonbaxter8001 - 31.05.2022 13:22

Great video. My OCD can't stop looking at that left hand picture on your wall though .. it's not aligned!!!

Ответить
@nbensa
@nbensa - 29.05.2022 22:30

What a bad decision made by the sudo developers to use 'q' to save a wrong sudoers file. 'q' is actually what you would type to exit without saving. 'W' (uppercase) seems like a better option in my opinion.

Ответить
@anandrai9531
@anandrai9531 - 28.05.2022 09:26

Hi Jay your video is very informative , thanks for all info, can you make video o rbash and rbash is how different from this sudoers configured command in sudoers file , thank you

Ответить
@mdridoy8379
@mdridoy8379 - 28.05.2022 08:03

👍

Ответить
@minecraftchest1
@minecraftchest1 - 27.05.2022 15:52

If you type h or help when visudo gives you an error, then it will give you the options available.

Ответить
@farjanaorniojanta8348
@farjanaorniojanta8348 - 27.05.2022 14:36

Gd tutireal

Ответить
@Jonathan-ru9zl
@Jonathan-ru9zl - 27.05.2022 01:28

Supremely good tutorial 👌

Ответить
@moosehole646
@moosehole646 - 26.05.2022 20:29

The leftmost picture behind your head is too high.

Ответить
@guilherme5094
@guilherme5094 - 26.05.2022 19:32

👍

Ответить
@Chalisque
@Chalisque - 26.05.2022 15:07

One thing to be aware of. If you put something in /etc/sudoers or /etc/sudoers.d and it contains an error, sudo will refuse to run, and you need root permissions to edit /etc/sudoers and /etc/sudoers.d. This can be quite a conundrum if you don't, as is the default, have a password on the root account. (I learned, from this, that you should use sudo -s to get a root shell to manipulate /etc/sudoers, and then su back to a user account and sudo echo hello just to check sudo is working fine before closing the root shell.)

Ответить
@ecotoser
@ecotoser - 26.05.2022 06:56

really enjoying these!

Ответить
@kellypainter7625
@kellypainter7625 - 26.05.2022 06:22

Nice! I just learned how to remove the password requirement in WSL. Thanks for your videos.

Ответить
@JoelTalom
@JoelTalom - 26.05.2022 05:14

Just love the linux essentials series! Can't wait the next video

Ответить
@TechieZeddie
@TechieZeddie - 26.05.2022 02:40

Thanks for showing us the finer settings on sudo. Since we can restrict a user to elevate apt, is there anyway to restrict the user to only use "apt update" and "apt upgrade"? In other words, restrict not only the program but specific sytanx. This would allow a user to only update and upgrade but not install new packages.

Ответить
@Rbourk252
@Rbourk252 - 26.05.2022 00:21

It ALL good

Ответить
@MarkVanderberg
@MarkVanderberg - 25.05.2022 23:49

I have been playing around with Linode last couple of months and I think it would be useful to have a post-install script I would set up a few things on a new server install. By creating a new user on the server and making them part of the SUDO group, Removing root login, Doing upgrades and updates and activating automatic updates, installing some programs that are not installed by default, removing the capability of logging with password and of course before that loading your RSA keys. And I like my prompt certain way so I would like to add that to the script. Maybe sometime you could do a video on such a script?

Ответить
@MarkVanderberg
@MarkVanderberg - 25.05.2022 23:44

Thank you for the video, I also just started reading "SUDO Mastery " by Michael W Lucas

Ответить