Report this

What is the reason for this report?

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

Posted on March 6, 2017

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.

Thanks!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
exit

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.