Linux Crash Course - sudo

Author: Learn Linux TV
Published At: 2022-01-31T00:00:00
Length: 26:11

Summary

Description

When you need to run Linux commands with elevated privileges, sudo is the tried and true method to run commands as another user (such as root). In this introductory tutorial, we'll take a look at some of the inner-workings of sudo.

*🐧 Donate to Learn Linux TV and Receive a PDF with tips for switching to Linux*

Contains over 40 pages of tips and recommendations to help make your transition easier!

Check it out here ➜ https://learnlinux.link/linux-desktop-tips

*🐧 Get an Awesome Linux Command Cheat Sheet*

For just $3, This brand-new PDF cheat sheet features all the commands you should know, as well as some of Jay's favorite aliases and tweaks!

β€’ Download the PDF here ➜ https://learnlinux.link/linux-commands

*πŸ’§ Spin up some Linux Servers with Digital Ocean*

Digial Ocean is a great way to quickly spin up some Linux machines!

β€’ Check it out here ➜ https://learnlinux.link/digitalocean (Affiliate Link)

*🐧 Support Learn Linux TV*

β€’ Channel Membership ➜ https://learnlinux.link/member

β€’ Patreon ➜ https://learnlinux.link/patron

β€’ Spin up your very own Linux server ➜ https://learnlinux.link/digitalocean

β€’ Linux swag ➜ https://merch.learnlinux.tv

β€’ Check out Netdata ➜ https://learnlinux.link/netdata

β€’ Jay's Gear ➜ https://learnlinux.link/amazon

_Note: Royalties and/or commission is earned from each of the above links_

*Support Linux Learning!*

β€’ Grab some Linux swag from the official Merch Shop ➜ https://merch.learnlinux.tv

β€’ Become a Channel Member here on YouTube ➜ https://learnlinux.link/member

β€’ Become a Patron and gain access to exclusive perks ➜ https://learnlinux.link/patron

β€’ 5% discount on LPI exam vouchers ➜ https://learnlinux.link/lpi-voucher

β€’ Check out my latest book, Mastering Ubuntu Server 4th Edition ➜ https://ubuntuserverbook.com

β€’ Grab an awesome Pi-powered KVM ➜ https://learnlinux.link/tinypilot

β€’ Jay's Gear ➜ https://learnlinux.link/amazon

_Note: Royalties and/or commission is earned from each of the above links_

*⏰ TIME CODES*

00:00 - Intro

02:44 - sudo overview

04:12 - Notes about installing sudo

05:01 - The sudo group

07:52 - Listing sudo privileges

09:00 - What to do when you forget to use sudo

10:22 - The /etc/sudoers file

14:57 - Editing the /etc/sudoers file with visudo

17:43 - Restricting sudo to specific commands

20:23 - sudo without a password

22:32 - Undoing errors while using visudo*πŸŽ“ Full Linux Courses*

β€’ Linux Crash Course ➜ https://linux.video/cc

β€’ tmux ➜ https://linux.video/tmux

β€’ vim ➜ https://linux.video/vim

β€’ Bash Scripting ➜ https://linux.video/bash

β€’ Proxmox VE ➜ https://linux.video/pve

β€’ Ansible (Udemy) ➜ https://learnlinux.link/ansible

β€’ Linux Essentials (Udemy) ➜ https://learnlinux.link/linux-essentials

*πŸŽ“ More About Learn Linux TV*

β€’ Main site ➜ https://www.learnlinux.tv

β€’ Community Forums ➜ https://community.learnlinux.tv

β€’ Github Account ➜ https://github.com/LearnLinuxTV

β€’ Content Ethics ➜ https://www.learnlinux.tv/content-ethics

β€’ Request Paid Assistance ➜ https://www.learnlinux.tv/request-assistance

*⚠️ Disclaimer*

Learn Linux TV provides technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content. Always make sure you have written permission before working with any infrastructure and that you are compliant with all company rules, change control procedures, and local laws.

#Linux #DevOps #sudo

Translated At: 2025-06-29T15:08:28Z

Request translate (One translation is about 5 minutes)

Version 3 (stable)

Optimized for a single speaker. Suitable for knowledge sharing or teaching videos.

Recommended Videos