Hi
I followed your guide, did all the steps
https://www.digitalocean.com/community/articles/initial-server-setup-with-centos-6
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.
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.
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>https://www.digitalocean.com/community/articles/initial-server-setup-with-centos-6#StepFour—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>