diff options
author | 2021-11-04 14:35:08 -0400 | |
---|---|---|
committer | 2021-11-04 14:35:08 -0400 | |
commit | d681e0e2d9548c56bf67131b9fe4a75d8e1b9060 (patch) | |
tree | 7c5d2dc58bfc53f1daaf2791c3a01e5ec8eeff3f /etc | |
parent | README: bump debian stable codename (diff) | |
download | firejail-d681e0e2d9548c56bf67131b9fe4a75d8e1b9060.tar.gz firejail-d681e0e2d9548c56bf67131b9fe4a75d8e1b9060.tar.zst firejail-d681e0e2d9548c56bf67131b9fe4a75d8e1b9060.zip |
adding more SUID executables to disable-common.inc
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-common.inc | 8 | ||||
-rw-r--r-- | etc/profile-m-z/ssh-agent.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/ssh.profile | 1 |
3 files changed, 9 insertions, 1 deletions
diff --git a/etc/inc/disable-common.inc b/etc/inc/disable-common.inc index ae84ee38a..f3d685d18 100644 --- a/etc/inc/disable-common.inc +++ b/etc/inc/disable-common.inc | |||
@@ -458,7 +458,7 @@ blacklist /sbin | |||
458 | blacklist /usr/local/sbin | 458 | blacklist /usr/local/sbin |
459 | blacklist /usr/sbin | 459 | blacklist /usr/sbin |
460 | 460 | ||
461 | # system management | 461 | # system management and various SUID executables |
462 | blacklist ${PATH}/at | 462 | blacklist ${PATH}/at |
463 | blacklist ${PATH}/busybox | 463 | blacklist ${PATH}/busybox |
464 | blacklist ${PATH}/chage | 464 | blacklist ${PATH}/chage |
@@ -493,6 +493,12 @@ blacklist ${PATH}/umount | |||
493 | blacklist ${PATH}/unix_chkpwd | 493 | blacklist ${PATH}/unix_chkpwd |
494 | blacklist ${PATH}/xev | 494 | blacklist ${PATH}/xev |
495 | blacklist ${PATH}/xinput | 495 | blacklist ${PATH}/xinput |
496 | blacklist /usr/lib/openssh/ssh-keysign | ||
497 | blacklist ${PATH}/passwd | ||
498 | blacklist /usr/lib/xorg/Xorg.wrap | ||
499 | blacklist /usr/lib/policykit-1/polkit-agent-helper-1 | ||
500 | blacklist /usr/lib/dbus-1.0/dbus-daemon-launch-helper | ||
501 | blacklist /usr/lib/eject/dmcrypt-get-device | ||
496 | 502 | ||
497 | # other SUID binaries | 503 | # other SUID binaries |
498 | blacklist /usr/lib/virtualbox | 504 | blacklist /usr/lib/virtualbox |
diff --git a/etc/profile-m-z/ssh-agent.profile b/etc/profile-m-z/ssh-agent.profile index 11723664f..9d3fe9637 100644 --- a/etc/profile-m-z/ssh-agent.profile +++ b/etc/profile-m-z/ssh-agent.profile | |||
@@ -11,6 +11,7 @@ include allow-ssh.inc | |||
11 | 11 | ||
12 | blacklist /tmp/.X11-unix | 12 | blacklist /tmp/.X11-unix |
13 | blacklist ${RUNUSER}/wayland-* | 13 | blacklist ${RUNUSER}/wayland-* |
14 | noblacklist /usr/lib/openssh/ssh-keysign | ||
14 | 15 | ||
15 | include disable-common.inc | 16 | include disable-common.inc |
16 | include disable-programs.inc | 17 | include disable-programs.inc |
diff --git a/etc/profile-m-z/ssh.profile b/etc/profile-m-z/ssh.profile index 9295013e7..194b2082c 100644 --- a/etc/profile-m-z/ssh.profile +++ b/etc/profile-m-z/ssh.profile | |||
@@ -10,6 +10,7 @@ include globals.local | |||
10 | # nc can be used as ProxyCommand, e.g. when using tor | 10 | # nc can be used as ProxyCommand, e.g. when using tor |
11 | noblacklist ${PATH}/nc | 11 | noblacklist ${PATH}/nc |
12 | noblacklist ${PATH}/ncat | 12 | noblacklist ${PATH}/ncat |
13 | noblacklist /usr/lib/openssh/ssh-keysign | ||
13 | 14 | ||
14 | # Allow ssh (blacklisted by disable-common.inc) | 15 | # Allow ssh (blacklisted by disable-common.inc) |
15 | include allow-ssh.inc | 16 | include allow-ssh.inc |