How to Escalate Permissions on Linux with Sudo, Su

preview_player
Показать описание

In this video, Shawn Powers covers how to effectively manage privileges. Specifically, you’ll learn about three different Linux commands that allow you to escalate your privileges from a lower-level account to one with more permissions, up to (and including) super user rights. He’ll show you which to use, how, and when to do so.

If you’re using permissions correctly, you’ll always use the lowest possible user access to complete any work within a system. When you hit a task that requires higher-level admin rights, you can escalate your privileges to take care of the issue. This function allows you to give yourself access to things that only the root or super user could impact.

Shawn will walk through three ways to escalate your privileges. You’ll hear about the pros and cons of each and what you need to know to choose the right one in a given situation. After he explains the concept and how to apply it, Shawn will walk you through execution.

Start learning with CBT Nuggets:

Рекомендации по теме
Комментарии
Автор

Great video! Simple and useful! By the way, I was the only one who noticed the "power" easter egg? A video about commands that give power to Linux users presented by Shawn Powers? That's a powerful video!

marciodanilo
Автор

I do this — $ sudo cat /etc/sudoers — and I just edit the file *directly* lol but you are right, I learned not to do that anymore. Thank you for informative video.

googlegoogle
Автор

File "/usr/bin/katoolin", line 8
print "Sorry. This script requires sudo privledges"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Sorry. This script requires sudo privledges")?
how do i fix this issues

ibidokielekima
Автор

Waht setting I shodld do in order directly go to root, after typing ==> sudo su

pravinjogdand