Question

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

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

Subscribe
Share

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.

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