Hi, the question is that I've been given a task(practice) where I need to allow both the Admin group in ubuntu and a new group that I'll will call "Network manager group role" that they will be in charge of controlling and managing the network commands,options, parameters. So I'd like to create different roles and I don't want the others to be able when using "sudo" to use the network commands. They will have a denied permission when so.
As far as I know, I am not sure if I should use "chmod", or the "sudoers" files in order to achieve this thing.
Another problem is that I don't know which commands I should unable the others not to change any network-related parameters. So I have to make a list of all the commands associated with these tasks and block them from being used by others. I should take into account that "Network Manager" is one of those things I should block.
Any suggestions? If any questions, please ask me for claryfing any doubt.
Thanks in advance.