How do I elevate to root?

I need to have root access on a Linux server

Solution

  1. Log into your linux instance
  2. Run the desired command with "sudo" in front of it
    1. Example: Instead of "yum update", run the command "sudo yum update" and it will be run with root permissions
  3. To run all commands as root for the rest of your terminal session run the command "sudo - su"
  4. For further information please read this guide: Linux.com guide to Sudo