Report this

What is the reason for this report?

New 'user' doesn't have same permissions as 'root'

Posted on October 31, 2013

I’ve followed the tutorial on setting up a LAMP stack on my VPS and it would seem the new user DOESN’T have the same privileges as root, therefore I’m not able to change and files, folders, create and new files or folders etc… any help much appreciated.



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.

Did you implement <b>Step Four</b> of <a href=“https://www.digitalocean.com/community/articles/initial-server-setup-with-ubuntu-12-04”>Initial Server Setup with Ubuntu 12.04</a>?

And even if you have implemented step four you still need to run the command with ‘sudo’ in order to gain root privileges. <br>ex. <br>#sudo mv directory /home/user/targetdirectory <br>#sudo shutdown -h now

sudo nano /etc/sudoers <br>add your username <br>done

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.