Report this

What is the reason for this report?

Users Command for Permissions - /etc/sudoers.temp and users simbol...

Posted on April 23, 2015

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!

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.

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

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.