Linux 05: Super Users in Linux

Pubblicato il: 25 aprile 2024
sul canale di: Bill Sky - The Computer Guy!
41
1

In this video, I'll show you what a super user is in Linux, what the root user is, the dangers of both, and how to setup both on your Linux operating system.

Linux 04: Updating your Linux Operating System:    • Linux 04: How to update and install a...  
Linux 06: Introduction to User and Group management:    • Linux 06: Introduction to Managing Us...  

Commands Used in this video:

cd
Change directory
sudo passwd userid
Add or change a password for userid
nano file-name
Using the nano editor, edit the file named file-name
sudo nano /etc/sudoers
Edit the sudo'ers file as a super user
userid ALL=(ALL) ALL
A line added to the sudo'ers file to allow userid to issue sudo commands
sudo usermod -a -G sudo userid
Add userid to the sudo group on Debian Linux
sudo usermod -a -G wheel userid
Add userid to the sudo group on Red Hat/Alma/CentOS, Fedora Linux
su root
Switches the current user to the root ID
su -
Switches the current user to the root ID
exit
Exit out of a switched user account in terminal or close the terminal


In questa pagina del sito puoi guardare il video online Linux 05: Super Users in Linux della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Bill Sky - The Computer Guy! 25 aprile 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 41 volte e gli è piaciuto 1 spettatori. Buona visione!