Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Comparison with other tools

Featuresetcap??doassudosudo-rsdosr (RootAsRole)
Change user/groupsN/A✅✅ mandatory or optional
Environment variablesN/Apartialpartial
Specific command matchingN/Astrictstrict & regexstrict & wildcardstrict & regex
Centralized policyPlanned
Secure signal forwardingN/A
Set capabilities⚠️ files
Prevent direct privilege escalation
Untrust authorized users
Standardized policy format
Scalable access control modelN/A❌ ACL❌ ACL❌ ACL✅ RBAC
The sudo centralized policy feature relies on creating some LDAP entries that will be retrieved by sudo. This is somehwat not a conventional way to use LDAP. LDAP provides identity and directory information, but it does not evaluate authorization policies. So, scalability is a concern. Today, the preferred way is to use sudoers files with a configuration management tool like Ansible.
setcap is a tool to set capabilities on files, therefore comparing it with RaR or others is not relevant. We included it as many requested the comparison.