How do I elevate to root?
I need to have root access on a Linux server
Solution
- Log into your linux instance
- Run the desired command with "sudo" in front of it
- Example: Instead of "yum update", run the command "sudo yum update" and it will be run with root permissions
- To run all commands as root for the rest of your terminal session run the command "sudo - su"
- For further information please read this guide: Linux.com guide to Sudo
Related articles