I know there such commands like

systemctl stop [servicename] && systemctl disable [service name]

or same thing with sysv. But what I mean is how do I block commands like enable or start


EDIT: Nevermind, I've already found it

systemctl mask [service name]
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.