the-bastion/etc/sudoers.d/osh-plugin-accountModifyCommand
Stéphane Lesimple fde20136ef
Initial commit
2020-10-20 14:30:27 +00:00

4 lines
324 B
Text

# grant access to a command
%osh-accountGrantCommand ALL=(root) NOPASSWD:/usr/bin/env perl -T /opt/bastion/bin/helper/osh-accountModifyCommand --action grant *
# revoke access to a command
%osh-accountRevokeCommand ALL=(root) NOPASSWD:/usr/bin/env perl -T /opt/bastion/bin/helper/osh-accountModifyCommand --action revoke *