Linux Commands #29 - su β Become Another Linux User (sudo vs su Explained!)
Master IT skills with Dargslan - No Filler, Just Knowledge. π Get our 300+ Tech & IT eBooks: https://dargslan.com In this video, we dive deep into professional IT workflows to help you learn faster and code smarter. Whether you're a DevOps engineer, a SysAdmin, or a curious developer, our "No Filler" approach ensures you get the facts without the fluff. su = Switch User. Where sudo borrows root power for one command, su BECOMES another user β full shell, full environment. Learn the critical dash difference, the su vs sudo trade-offs, and when each is the right tool. In this lesson: π― su - USER β full login switch (the dash matters!) π― su USER (no dash) β half-switch (rarely what you want) π― The three things that change: identity, environment, prompt π― sudo vs su: which to use when π― Real example: debugging another user's environment Full Linux course at dargslan.com β practical sysadmin skills for beginners. β± TIMESTAMPS 0:00 Sara needs to BE Mia (full debug session) 1:30 What su does 2:00 First try: su - alice 2:30 The dash difference (CRITICAL!) 3:00 su vs sudo: decision matrix 3:30 Real example: reproducing another user's bug 4:00 Common mistake: forgetting the dash π Linux Commands β The First 50 Β· Lesson 29 Β· dargslan.com #su #sulinux #suvssudo #linuxswitchuser #linuxtutorial #commandline #sysadmin π Subscribe for weekly IT insights: https://m.youtube.com/channel/UCv2QLrkCMSBljYG5XKd8IEA About Dargslan: We are dedicated to sharing high-quality, practical IT knowledge. Our mission is to provide the most efficient learning resources for the modern tech industry. #DevOps #ITMastery #Dargslan #Linux #CloudEngineering #NoFillerTech
Download
0 formatsNo download links available.