1/8 🐦 Welcome to today's thread! Let's dive into the world of user privileges on Linux systems. We'll explore the differences between sudo, su, and sudo su. 💻 #Linux #UserPrivileges
@devops_tech Amazing thread. Would like to one more useful command: “sudo -i”. It gives an option to open an interactive terminal in sudo or ‘super user do’ mode to run a number of commands. Useful when you write scripts.
@devops_tech You can do sudo -u john command - to run the command as john. You can do su john -c command and su - john -c command. So, is sudo really "super user do" or simply "switch user do?"
@devops_tech Great thread man! Expanded my Linux understanding a lot
@devops_tech @threadreaderapp save as a Linux sudo su
@devops_tech I know several people that need to read up on this. 🧐
@devops_tech This was very helpful, thanks. Today I learned that I was using su in an inappropriate way.