Using DO LAMP stack, added user is not admin

  • Posted March 31, 2013

Using the DO preconfigured LAMP image I tried to follow the instructions in “Initial Server Setup with Ubuntu 12.04”.

I changed the root password using passwd I added the new user using adduser I changed visudo

But when I log in using the new user I have to sudo every command, which I did not have to do when I built the LAMP stack myself.

Any idea why?


Submit an 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.

So why when I build the LAMP stack myself do I not have to sudo everything? Somethings, yes, but not everything. When I follow the instructions in other tutorials (like myphpadmin and wordpress installs) it all works as instructed if I build the system from scratch, but if use the DO LAMP image I cannot follow the instructions without sudo-ing everything?

you’re supposed to have to sudo things. visudo just lets you do so.