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

Posted April 23, 2015 2.1k views
Linux BasicsMiscellaneousWordPressLinux Commands

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
*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

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.

Submit an Answer
1 answer

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