Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.

unscathed18.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900