I'm new to linux, I have a VPS under CentOS and I do have a root user. I do login as myuser (that I created from my godaddy accout) and I type sudo su to have access as root.
Now I want to give someone ability to install anything he wants in the server but I do not want him to be able to type sudo su and get root access.
I did create a user dev1 and add it in visudo like :
root ALL=(ALL) ALL
dev1 ALL=(ALL) ALL
when I login as dev1 I still can type sudo su and get root access, so how can I prevent that?
Thanks