Want to create an user who will have access to some specific commands
I want to create an user who will have access to some particular commands only. Actually there are some guys in my company who does not have any knowledge on linux but i need to give them access to server so that they can execute some particular commands (like ping, mtr etc.) beside these i don’t want them to execute any other single commands. So basically i want to create an user who can execute 2/3 specific commands from thousands of commands and that’s it. Please help. N.B. I am talking about configuring sudoers file as because i don’t need them to run any sudo commands.
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.×