diff options
author | Daniel Drake <dsd@laptop.org> | 2013-03-29 19:29:43 (GMT) |
---|---|---|
committer | Daniel Drake <dsd@laptop.org> | 2013-03-29 19:29:43 (GMT) |
commit | e1f776788f7cf726b01e0035fe70381b34ce7308 (patch) | |
tree | cbc942156116189cc823b1bc415389cbb2787683 | |
parent | d55ae1193b5edb391a77a1bb42599e8162c2d947 (diff) |
base: set suid root on ping (#12427)
Make this useful network diagnosis tool available to the regular user,
and to ds-backup.
-rw-r--r-- | modules/base/kspost.10.core.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/base/kspost.10.core.inc b/modules/base/kspost.10.core.inc index 037dcc9..e3b9205 100644 --- a/modules/base/kspost.10.core.inc +++ b/modules/base/kspost.10.core.inc @@ -245,3 +245,9 @@ rm -f /etc/xdg/autostart/tracker*.desktop 2>/dev/null # Disable it, it's not interesting for us rm -f /var/log/wtmp ln -s /dev/null /etc/systemd/system/systemd-update-utmp-shutdown.service + +# ping requires CAP_NET_RAW and now ships with file capabilities to make +# this happen. however, we do not support file capabilities in our update +# system. as this is a useful network diagnosis tool, and used by ds-backup, +# make it available to non-root users again (#12427) +chmod u+s /usr/bin/ping |