Sudo VS Su: Which is best for Linux?

Поділитися
Вставка
  • Опубліковано 2 жов 2024
  • 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/...
    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/...
    Join my Discord server: / discord
    Camtasia Video Editing Software: getintopc.com/...
    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...
    UA-cam: / exploitstudio
    Udemy: www.udemy.com/...
    Instagram: / mohd.raqif.3
    Twitter: / mohdraqif1
    #exploit #thevscodeguy #learnlinuxwithme

КОМЕНТАРІ • 18

  • @shivagurung4161
    @shivagurung4161 Рік тому +4

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

  • @Bella-pb7hk
    @Bella-pb7hk 2 роки тому +4

    Yey! Very clear explanation. Thank you. :)

  • @KirstenMurray-m5j
    @KirstenMurray-m5j Рік тому +2

    Thanks very much!!

  • @ChapalPuteh_
    @ChapalPuteh_ 9 місяців тому

    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 ..

  • @mallikarjunmogudumpuram8287
    @mallikarjunmogudumpuram8287 Місяць тому

    Awesome video❤

  • @TheGothicSecret
    @TheGothicSecret Рік тому +1

    Best explanation. Thanks very much bro!

    • @EXPLOITStudio
      @EXPLOITStudio  Рік тому

      Thanks for watching. Welcome to the channel 🙂

  • @vishamr2000
    @vishamr2000 Рік тому +1

    excellent bhai

    • @EXPLOITStudio
      @EXPLOITStudio  Рік тому

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

  • @ravishahmad7932
    @ravishahmad7932 3 роки тому +1

    Great👍

  • @dineshbaburamachandran5803
    @dineshbaburamachandran5803 2 роки тому

    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.

  • @eromoseking
    @eromoseking 2 роки тому +1

    Nice explanation

    • @EXPLOITStudio
      @EXPLOITStudio  2 роки тому

      Thank you. Welcome to the channel 😊

  • @puru2901is
    @puru2901is 2 роки тому +1

    Su vs su - vs sudo 🎊🎉

    • @EXPLOITStudio
      @EXPLOITStudio  2 роки тому

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

  • @phaserfull
    @phaserfull Рік тому +1

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

    • @EXPLOITStudio
      @EXPLOITStudio  Рік тому +1

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