By gilsoninacio
I have add the user ADMIN in file /etc/sudoers.tmp (SEE BELOW) BUT still when I connect to the ADMIN user looks like this: admin@mydomain:/$ and not user ROOT admin@mydomain**:~#** What do I solve this? I am grateful to those who help me. Thank you.
User privilege specification root ALL=(ALL:ALL) ALL **admin ALL=(ALL:ALL) ALL **
Members of the admin group may gain root privileges *%admin ALL=(ALL) ALL *
Allow members of group sudo to execute any command *%sudo ALL=(ALL:ALL) ALL *
Is this command? sudo chown -R 755 admin and sudo chmod - R 755 admin or sudo chmod 755 /var/www/admin or sudo chown 755 /var/www/admin
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!
When connecting with a user that has sudo permissions (a member of the sudo group) you can run the following command to open a shell as root:
sudo su
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.