Can't modify files after adding new user


I followed your guide, did all the steps

But when I edit files in my root directory I get> permission denied

I’m running CentOS 6 with Zpanel. Anyway I can revert back to normal root access.

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Did you follow step four: <br> <br>—RootPrivileges <br> <br>If so, your user should be able to get root privileges by using “sudo” Simply prepend it to the command you want to run. For instance, if you wanted to edit the file “/etc/hosts” you’d use: <br> <br><pre> <br>sudo nano /etc/hosts <br></pre>