Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How do I switch back to root user in 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.
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.×