Score:0

Disable apt command for the particular sudo user

cn flag

I am IT admin in the company. The developers ask to have sudo permission to execute sudo systemctl status/reload/start/stop serviceName to manage their app. But my boss doesn't want them to be able to run apt to install/remove/upgrade the package. Is there any way to do that?

I am very new to Linux, any help is appreciated!

pt flag
Have you read through the [`sudoers` man page](https://www.sudo.ws/docs/man/1.8.15/sudoers.man/)? It shows how to limit people to only having `sudo` access for certain commands.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.