[SSSD-users] sudorules - allow all and exclude some
pbrezina at redhat.com
Wed May 7 08:48:07 UTC 2014
On 05/07/2014 10:11 AM, Szymon Jazy wrote:
> Is there a proper way in sudo rules to allow any command and exclude
> only some groups?
> Something like:
> %test_group ALL= (ALL) ALL, !SU, !SHELLS
> If I try to do this (gui/cli) I get an error:
> ipa: ERROR: commands cannot be added when command category='all'
> Non proper way (bug ?) is to first add deny groups and after that add
> allow all :)
> It should be fixed in this, but it seems to still work
this is possible in sudo-ldap (except that you have to specify single
commands since sudo schema doesn't support command groups), However I am
not sure whether it is supported by IPA tools. I suggest you to ask on
freeipa-users list .
More information about the sssd-users