aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/hidepid-howto27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/hidepid-howto b/test/hidepid-howto
new file mode 100644
index 000000000..f207c9109
--- /dev/null
+++ b/test/hidepid-howto
@@ -0,0 +1,27 @@
11. Find an unused user group for hidepid exception:
2
3$ id
4uid=1000(netblue) gid=100(users) groups=100(users),10(wheel),90(network),
592(audio),93(optical),95(storage),98(power)
6
7From /etc/group I pick up a group I am not part of:
8
9$ cat /etc/group
10[...]
11xmms2:x:618:
12rtkit:x:133:
13vboxsf:x:109:
14git:x:617:
15[...]
16
17I'll use group 618 (xmms2)
18
192. Set hidepid and allow xmms2 users to bypass hidepid
20
21$ sudo mount -o remount,rw,hidepid=2,gid=618 /proc
22$ cat /proc/mounts | grep proc
23proc /proc proc rw,nosuid,nodev,noexec,relatime,gid=618,hidepid=2 0 0
24
253. Test "firejail --list", "firejail --top", "firejail --tree", "firejail --netstats"
26
27