I'd like to restrict running some RPMs based on additional rules (on top of GPG). Is there a way to create a Authorization plugin for RPMs in CentOS 7+?


You may be able to disallow certain packages via yum with this command:

yum --exclude foo\* --exclude bar\*

For more information, check this webpage.

  • I'm looking for more dynamic checks, not just static disallow.
    – Artem
    Mar 2 '17 at 23:24

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.