Sudo VS Su: Which is best for Linux?

Ever wondered what's the difference between su and sudo? In this video, you'll learn all about the differences of the switch user(su) and switch user and do(sudo) commands of the linux distribution.
Get my I.T. Networking Course on Udemy: www.udemy.com/course/masterin...
What you'll see in the video:
su: for root access with other user's environment
su - : for root access with new environment
sudo: for root access for one particular command
----------------------------------------------
Become a Patron and support my work:
/ exploi_t_
❗❗❗Get FREE Udemy Course: ❗❗❗
www.udemy.com/course/the-new-...
Join my Discord server: / discord
Camtasia Video Editing Software: getintopc.com/softwares/video...
Thumbnails: www.canva.com/
Vector created by freepik - www.freepik.com
---------------------------------------------
If this doesn't help or if you're stuck at any point in the process, ask openly in the comment section or just send a Hi here / mohd.raqif.3
HAPPY CODING (:(:
👋👋 SUBSCRIBE HERE: rb.gy/ujkhmn 👋👋
Join me on:
Patreon: / exploi_t_
Discord: / discord
LinkedIn: / mohd-raqif-warsi-31419...
KZread: / exploitstudio
Udemy: www.udemy.com/user/mohdraqif
Instagram: / mohd.raqif.3
Twitter: / mohdraqif1
#exploit #thevscodeguy #learnlinuxwithme

Пікірлер: 17

  • @shivagurung4161
    @shivagurung4161 Жыл бұрын

    3:56 sudo takes permission from the root su means becoming the root

  • @Bella-pb7hk
    @Bella-pb7hk2 жыл бұрын

    Yey! Very clear explanation. Thank you. :)

  • @EXPLOITStudio

    @EXPLOITStudio

    2 жыл бұрын

    Welcome to the channel 😀

  • @user-lm2zp2vu7v
    @user-lm2zp2vu7v10 ай бұрын

    Thanks very much!!

  • @TheGothicSecret
    @TheGothicSecret Жыл бұрын

    Best explanation. Thanks very much bro!

  • @EXPLOITStudio

    @EXPLOITStudio

    Жыл бұрын

    Thanks for watching. Welcome to the channel 🙂

  • @ChapalPuteh_
    @ChapalPuteh_6 ай бұрын

    Sudo, the soders group have permission granted to do supersuser task. Such as the owner give you to make his house as yours, but you’re responsibile for it if any happen, such as, logs are stored on who has use the sudo. You may remove the user from being sudo in sudoers configuration. For SU, you control the system as Superuser, not as standard user who has elevated previleged, because SU its the OS itself .. sudoers only granted user by SU ..

  • @ravishahmad7932
    @ravishahmad79323 жыл бұрын

    Great👍

  • @eromoseking
    @eromoseking Жыл бұрын

    Nice explanation

  • @EXPLOITStudio

    @EXPLOITStudio

    Жыл бұрын

    Thank you. Welcome to the channel 😊

  • @vishamr2000
    @vishamr2000 Жыл бұрын

    excellent bhai

  • @EXPLOITStudio

    @EXPLOITStudio

    Жыл бұрын

    Thanks for watching. Subscribe for upcoming videos and welcome to the channel 🙂

  • @dineshbaburamachandran5803
    @dineshbaburamachandran58032 жыл бұрын

    Su switch to riot user Su switch to different user Su- switch to riot user but doesn’t inherit the env of normal user. Sudo switch to riot user only for that command.

  • @puru2901is
    @puru2901is2 жыл бұрын

    Su vs su - vs sudo 🎊🎉

  • @EXPLOITStudio

    @EXPLOITStudio

    2 жыл бұрын

    Looks like you got the exact thing from the video😀. Welcome to the channel 😊

  • @phaserfull
    @phaserfull Жыл бұрын

    Need to be PHD to understand and use this. It's not too that simple.

  • @EXPLOITStudio

    @EXPLOITStudio

    Жыл бұрын

    Haha, yeah really. But once you get it, it stays forever:)