aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2021-01-09 21:41:43 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2021-01-27 18:18:38 -0300
commit83ac0239722f85ffed15e3b6b6088bfff547ac1b (patch)
treebab7befdd0200dac19366bdb3fcf290487e1c761 /etc/profile-m-z
parentgit-cola.profile: add missing python template comment (diff)
downloadfirejail-83ac0239722f85ffed15e3b6b6088bfff547ac1b.tar.gz
firejail-83ac0239722f85ffed15e3b6b6088bfff547ac1b.tar.zst
firejail-83ac0239722f85ffed15e3b6b6088bfff547ac1b.zip
etc: add allow-ssh.inc
And move the scattered `noblacklist ${HOME}/.ssh` entries into it. Command used to find the relevant files: $ grep -Fnr 'noblacklist ${HOME}/.ssh' etc Also, add it to profile.template, as reminded by @rusty-snake at https://github.com/netblue30/firejail/pull/3885#pullrequestreview-567527031
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r--etc/profile-m-z/meld.profile4
-rw-r--r--etc/profile-m-z/remmina.profile4
-rw-r--r--etc/profile-m-z/seahorse.profile4
-rw-r--r--etc/profile-m-z/ssh-agent.profile4
-rw-r--r--etc/profile-m-z/ssh.profile4
-rw-r--r--etc/profile-m-z/webstorm.profile4
-rw-r--r--etc/profile-m-z/x2goclient.profile4
7 files changed, 21 insertions, 7 deletions
diff --git a/etc/profile-m-z/meld.profile b/etc/profile-m-z/meld.profile
index 6ceeb867f..a5c74047a 100644
--- a/etc/profile-m-z/meld.profile
+++ b/etc/profile-m-z/meld.profile
@@ -18,7 +18,6 @@ noblacklist ${HOME}/.config/git
18noblacklist ${HOME}/.gitconfig 18noblacklist ${HOME}/.gitconfig
19noblacklist ${HOME}/.git-credentials 19noblacklist ${HOME}/.git-credentials
20noblacklist ${HOME}/.local/share/meld 20noblacklist ${HOME}/.local/share/meld
21noblacklist ${HOME}/.ssh
22noblacklist ${HOME}/.subversion 21noblacklist ${HOME}/.subversion
23 22
24# Allow python (blacklisted by disable-interpreters.inc) 23# Allow python (blacklisted by disable-interpreters.inc)
@@ -27,6 +26,9 @@ include allow-python3.inc
27# Python 2 is EOL (see #3164). Uncomment the next line (or put it into your meld.local) if you understand the risks but want python 2 support for older meld versions. 26# Python 2 is EOL (see #3164). Uncomment the next line (or put it into your meld.local) if you understand the risks but want python 2 support for older meld versions.
28#include allow-python2.inc 27#include allow-python2.inc
29 28
29# Allow ssh (blacklisted by disable-common.inc)
30include allow-ssh.inc
31
30# Uncomment the next line (or put it into your meld.local) if you don't need to compare files in disable-common.inc. 32# Uncomment the next line (or put it into your meld.local) if you don't need to compare files in disable-common.inc.
31#include disable-common.inc 33#include disable-common.inc
32include disable-devel.inc 34include disable-devel.inc
diff --git a/etc/profile-m-z/remmina.profile b/etc/profile-m-z/remmina.profile
index 6311c91df..d4c7bdf31 100644
--- a/etc/profile-m-z/remmina.profile
+++ b/etc/profile-m-z/remmina.profile
@@ -9,7 +9,9 @@ include globals.local
9noblacklist ${HOME}/.remmina 9noblacklist ${HOME}/.remmina
10noblacklist ${HOME}/.config/remmina 10noblacklist ${HOME}/.config/remmina
11noblacklist ${HOME}/.local/share/remmina 11noblacklist ${HOME}/.local/share/remmina
12noblacklist ${HOME}/.ssh 12
13# Allow ssh (blacklisted by disable-common.inc)
14include allow-ssh.inc
13 15
14include disable-common.inc 16include disable-common.inc
15include disable-devel.inc 17include disable-devel.inc
diff --git a/etc/profile-m-z/seahorse.profile b/etc/profile-m-z/seahorse.profile
index 8bb1f53a7..0f91c79ec 100644
--- a/etc/profile-m-z/seahorse.profile
+++ b/etc/profile-m-z/seahorse.profile
@@ -9,9 +9,11 @@ include globals.local
9blacklist /tmp/.X11-unix 9blacklist /tmp/.X11-unix
10 10
11noblacklist ${HOME}/.gnupg 11noblacklist ${HOME}/.gnupg
12noblacklist ${HOME}/.ssh
13noblacklist /tmp/ssh-* 12noblacklist /tmp/ssh-*
14 13
14# Allow ssh (blacklisted by disable-common.inc)
15include allow-ssh.inc
16
15include disable-common.inc 17include disable-common.inc
16include disable-devel.inc 18include disable-devel.inc
17include disable-exec.inc 19include disable-exec.inc
diff --git a/etc/profile-m-z/ssh-agent.profile b/etc/profile-m-z/ssh-agent.profile
index 01b63d3ce..d2e2b3408 100644
--- a/etc/profile-m-z/ssh-agent.profile
+++ b/etc/profile-m-z/ssh-agent.profile
@@ -8,7 +8,9 @@ include globals.local
8 8
9noblacklist /etc/ssh 9noblacklist /etc/ssh
10noblacklist /tmp/ssh-* 10noblacklist /tmp/ssh-*
11noblacklist ${HOME}/.ssh 11
12# Allow ssh (blacklisted by disable-common.inc)
13include allow-ssh.inc
12 14
13blacklist /tmp/.X11-unix 15blacklist /tmp/.X11-unix
14blacklist ${RUNUSER}/wayland-* 16blacklist ${RUNUSER}/wayland-*
diff --git a/etc/profile-m-z/ssh.profile b/etc/profile-m-z/ssh.profile
index e3e2b4541..efdf63976 100644
--- a/etc/profile-m-z/ssh.profile
+++ b/etc/profile-m-z/ssh.profile
@@ -9,11 +9,13 @@ include globals.local
9 9
10noblacklist /etc/ssh 10noblacklist /etc/ssh
11noblacklist /tmp/ssh-* 11noblacklist /tmp/ssh-*
12noblacklist ${HOME}/.ssh
13# nc can be used as ProxyCommand, e.g. when using tor 12# nc can be used as ProxyCommand, e.g. when using tor
14noblacklist ${PATH}/nc 13noblacklist ${PATH}/nc
15noblacklist ${PATH}/ncat 14noblacklist ${PATH}/ncat
16 15
16# Allow ssh (blacklisted by disable-common.inc)
17include allow-ssh.inc
18
17include disable-common.inc 19include disable-common.inc
18include disable-exec.inc 20include disable-exec.inc
19include disable-passwdmgr.inc 21include disable-passwdmgr.inc
diff --git a/etc/profile-m-z/webstorm.profile b/etc/profile-m-z/webstorm.profile
index fc4e8e571..a4adf2896 100644
--- a/etc/profile-m-z/webstorm.profile
+++ b/etc/profile-m-z/webstorm.profile
@@ -8,12 +8,14 @@ include globals.local
8noblacklist ${HOME}/.WebStorm* 8noblacklist ${HOME}/.WebStorm*
9noblacklist ${HOME}/.android 9noblacklist ${HOME}/.android
10noblacklist ${HOME}/.local/share/JetBrains 10noblacklist ${HOME}/.local/share/JetBrains
11noblacklist ${HOME}/.ssh
12noblacklist ${HOME}/.tooling 11noblacklist ${HOME}/.tooling
13 12
14# Allows files commonly used by IDEs 13# Allows files commonly used by IDEs
15include allow-common-devel.inc 14include allow-common-devel.inc
16 15
16# Allow ssh (blacklisted by disable-common.inc)
17include allow-ssh.inc
18
17noblacklist ${PATH}/node 19noblacklist ${PATH}/node
18noblacklist ${HOME}/.nvm 20noblacklist ${HOME}/.nvm
19 21
diff --git a/etc/profile-m-z/x2goclient.profile b/etc/profile-m-z/x2goclient.profile
index bc9603835..6146016b2 100644
--- a/etc/profile-m-z/x2goclient.profile
+++ b/etc/profile-m-z/x2goclient.profile
@@ -6,10 +6,12 @@ include x2goclient.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/.ssh
10noblacklist ${HOME}/.x2go 9noblacklist ${HOME}/.x2go
11noblacklist ${HOME}/.x2goclient 10noblacklist ${HOME}/.x2goclient
12 11
12# Allow ssh (blacklisted by disable-common.inc)
13include allow-ssh.inc
14
13include disable-common.inc 15include disable-common.inc
14include disable-devel.inc 16include disable-devel.inc
15include disable-exec.inc 17include disable-exec.inc