How do I switch back to root user in Ubuntu 16.04?

March 6, 2017 3.9k views
Miscellaneous Ubuntu 16.04

I have my SSH keys set up for logging into my droplet as root. I have a small Minecraft server under a separate user.

  • Login as root
  • SU to "minecraft" to make any changes to my server, or view settings.
  • When I try to SU back to root to either reboot or make any other changes, it prompts a password. Which I don't have for root since I'm using SSH keys.

Would granting "minecraft" SU privileges be the appropriate method? I was under the impression that it would be a security issue to do so.


1 Answer
Have another answer? Share your knowledge.