summaryrefslogtreecommitdiff
path: root/sysconf
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-10-17 10:36:08 -0700
committerStephen Hemminger <shemminger@vyatta.com>2011-10-17 10:36:08 -0700
commit729e928acddb046938f3b327fefa5662bdac88b7 (patch)
tree74080f6c9a3116e6e62331301e333333c3cd374c /sysconf
parentc665f31772c26ac2b03c44e3a2f68426daa7ce0b (diff)
downloadvyatta-cfg-system-729e928acddb046938f3b327fefa5662bdac88b7.tar.gz
vyatta-cfg-system-729e928acddb046938f3b327fefa5662bdac88b7.zip
allow rmmod without being root (with capability)
Set capability bit on more rmmod and more capabilities for sysctl
Diffstat (limited to 'sysconf')
-rw-r--r--sysconf/filecaps3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysconf/filecaps b/sysconf/filecaps
index 163989b2..904b0938 100644
--- a/sysconf/filecaps
+++ b/sysconf/filecaps
@@ -16,10 +16,11 @@ cap_net_raw=pe /usr/bin/tshark
cap_net_raw=pe /usr/sbin/tcpdump
# Allow changes to system settings
-cap_sys_admin=pe /sbin/sysctl
+cap_net_admin,cap_sys_admin=pe /sbin/sysctl
# Module install
cap_sys_module=pe /sbin/modprobe
+cap_sys_module=pe /sbin/rmmod
# Set time
cap_sys_time=pe /bin/date