diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-10-17 10:36:08 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2011-10-17 10:36:08 -0700 |
commit | 729e928acddb046938f3b327fefa5662bdac88b7 (patch) | |
tree | 74080f6c9a3116e6e62331301e333333c3cd374c /sysconf | |
parent | c665f31772c26ac2b03c44e3a2f68426daa7ce0b (diff) | |
download | vyatta-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/filecaps | 3 |
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 |