aboutsummaryrefslogtreecommitdiffstats
path: root/src/man
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2021-02-23 08:40:02 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2021-02-23 08:40:02 -0500
commit80868ffa70784fae2642c3d9219e08a17822bc86 (patch)
tree430b0a9c90e9adad7b18f601e3fc5ba1d92bebe2 /src/man
parenthardening ssh, tor (diff)
downloadfirejail-80868ffa70784fae2642c3d9219e08a17822bc86.tar.gz
firejail-80868ffa70784fae2642c3d9219e08a17822bc86.tar.zst
firejail-80868ffa70784fae2642c3d9219e08a17822bc86.zip
jailtest
Diffstat (limited to 'src/man')
-rw-r--r--src/man/firecfg.txt11
-rw-r--r--src/man/firejail-login.txt11
-rw-r--r--src/man/firejail-profile.txt12
-rw-r--r--src/man/firejail-users.txt11
-rw-r--r--src/man/firejail.txt12
-rw-r--r--src/man/firemon.txt11
-rw-r--r--src/man/jailtest.txt58
7 files changed, 79 insertions, 47 deletions
diff --git a/src/man/firecfg.txt b/src/man/firecfg.txt
index 2c02aee47..dbb9397c6 100644
--- a/src/man/firecfg.txt
+++ b/src/man/firecfg.txt
@@ -130,8 +130,9 @@ This program is free software; you can redistribute it and/or modify it under th
130.PP 130.PP
131Homepage: https://firejail.wordpress.com 131Homepage: https://firejail.wordpress.com
132.SH SEE ALSO 132.SH SEE ALSO
133\&\flfirejail\fR\|(1), 133.BR firejail (1),
134\&\flfiremon\fR\|(1), 134.BR firemon (1),
135\&\flfirejail-profile\fR\|(5), 135.BR firejail-profile (5),
136\&\flfirejail-login\fR\|(5) 136.BR firejail-login (5),
137\&\flfirejail-users\fR\|(5) 137.BR firejail-users (5),
138.BR jailtest (1)
diff --git a/src/man/firejail-login.txt b/src/man/firejail-login.txt
index 430e86cc8..ce27729b7 100644
--- a/src/man/firejail-login.txt
+++ b/src/man/firejail-login.txt
@@ -34,8 +34,9 @@ Firejail is free software; you can redistribute it and/or modify it under the te
34.PP 34.PP
35Homepage: https://firejail.wordpress.com 35Homepage: https://firejail.wordpress.com
36.SH SEE ALSO 36.SH SEE ALSO
37\&\flfirejail\fR\|(1), 37.BR firejail (1),
38\&\flfiremon\fR\|(1), 38.BR firemon (1),
39\&\flfirecfg\fR\|(1), 39.BR firecfg (1),
40\&\flfirejail-profile\fR\|(5) 40.BR firejail-profile (5),
41\&\flfirejail-users\fR\|(5) 41.BR firejail-users (5),
42.BR jailtest (1)
diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt
index 5e77b5f70..c7dc4c434 100644
--- a/src/man/firejail-profile.txt
+++ b/src/man/firejail-profile.txt
@@ -889,10 +889,12 @@ Firejail is free software; you can redistribute it and/or modify it under the te
889.PP 889.PP
890Homepage: https://firejail.wordpress.com 890Homepage: https://firejail.wordpress.com
891.SH SEE ALSO 891.SH SEE ALSO
892\&\flfirejail\fR\|(1), 892.BR firejail (1),
893\&\flfiremon\fR\|(1), 893.BR firemon (1),
894\&\flfirecfg\fR\|(1), 894.BR firecfg (1),
895\&\flfirejail-login\fR\|(5), 895.BR firejail-login (5),
896\&\flfirejail-users\fR\|(5), 896.BR firejail-users (5),
897.BR jailtest (1)
898
897.UR https://github.com/netblue30/firejail/wiki/Creating-Profiles 899.UR https://github.com/netblue30/firejail/wiki/Creating-Profiles
898.UE 900.UE
diff --git a/src/man/firejail-users.txt b/src/man/firejail-users.txt
index 6fa09e05e..c5a9c1848 100644
--- a/src/man/firejail-users.txt
+++ b/src/man/firejail-users.txt
@@ -54,8 +54,9 @@ as published by the Free Software Foundation; either version 2 of the License, o
54.PP 54.PP
55Homepage: https://firejail.wordpress.com 55Homepage: https://firejail.wordpress.com
56.SH SEE ALSO 56.SH SEE ALSO
57\&\flfirejail\fR\|(1), 57.BR firejail (1),
58\&\flfiremon\fR\|(1), 58.BR firemon (1),
59\&\flfirecfg\fR\|(1), 59.BR firecfg (1),
60\&\flfirejail-profile\fR\|(5) 60.BR firejail-profile (5),
61\&\flfirejail-login\fR\|(5) 61.BR firejail-login (5),
62.BR jailtest (1)
diff --git a/src/man/firejail.txt b/src/man/firejail.txt
index e85a02ee8..9e89d4e79 100644
--- a/src/man/firejail.txt
+++ b/src/man/firejail.txt
@@ -3332,11 +3332,13 @@ This program is free software; you can redistribute it and/or modify it under th
3332.PP 3332.PP
3333Homepage: https://firejail.wordpress.com 3333Homepage: https://firejail.wordpress.com
3334.SH SEE ALSO 3334.SH SEE ALSO
3335\&\flfiremon\fR\|(1), 3335.BR firemon (1),
3336\&\flfirecfg\fR\|(1), 3336.BR firecfg (1),
3337\&\flfirejail-profile\fR\|(5), 3337.BR firejail-profile (5),
3338\&\flfirejail-login\fR\|(5), 3338.BR firejail-login (5),
3339\&\flfirejail-users\fR\|(5), 3339.BR firejail-users (5),
3340.BR jailtest (1)
3341
3340.UR https://github.com/netblue30/firejail/wiki 3342.UR https://github.com/netblue30/firejail/wiki
3341.UE , 3343.UE ,
3342.UR https://github.com/netblue30/firejail 3344.UR https://github.com/netblue30/firejail
diff --git a/src/man/firemon.txt b/src/man/firemon.txt
index cea6c0265..64f15a1f0 100644
--- a/src/man/firemon.txt
+++ b/src/man/firemon.txt
@@ -115,8 +115,9 @@ This program is free software; you can redistribute it and/or modify it under th
115.PP 115.PP
116Homepage: https://firejail.wordpress.com 116Homepage: https://firejail.wordpress.com
117.SH SEE ALSO 117.SH SEE ALSO
118\&\flfirejail\fR\|(1), 118.BR firejail (1),
119\&\flfirecfg\fR\|(1), 119.BR firecfg (1),
120\&\flfirejail-profile\fR\|(5), 120.BR firejail-profile (5),
121\&\flfirejail-login\fR\|(5) 121.BR firejail-login (5),
122\&\flfirejail-users\fR\|(5) 122.BR firejail-users (5),
123.BR jailtest (1)
diff --git a/src/man/jailtest.txt b/src/man/jailtest.txt
index bc1999163..1b64097ea 100644
--- a/src/man/jailtest.txt
+++ b/src/man/jailtest.txt
@@ -19,9 +19,12 @@ and tries to run them form inside the sandbox, thus testing if the directory is
19\fB3. Read access test 19\fB3. Read access test
20jailtest creates test files in the directories specified by the user and tries to read 20jailtest creates test files in the directories specified by the user and tries to read
21them from inside the sandbox. 21them from inside the sandbox.
22
23.TP 22.TP
24The program is running as root exclusively under sudo. 23\fB4. AppArmor test
24.TP
25\fB5. Seccomp test
26.TP
27The program is started as root using sudo.
25 28
26.SH OPTIONS 29.SH OPTIONS
27.TP 30.TP
@@ -35,7 +38,7 @@ Print options end exit.
35Print program version and exit. 38Print program version and exit.
36.TP 39.TP
37\fB[directory] 40\fB[directory]
38One or more directories in user home to test for read access. 41One or more directories in user home to test for read access. ~/.ssh and ~/.gnupg are tested by default.
39 42
40.SH OUTPUT 43.SH OUTPUT
41For each sandbox detected we print the following line: 44For each sandbox detected we print the following line:
@@ -46,37 +49,58 @@ It is followed by relevant sandbox information, such as the virtual directories
46 49
47.SH EXAMPLE 50.SH EXAMPLE
48 51
52$ sudo jailtest
49.br 53.br
50$ sudo jailtest ~/.ssh ~/.gnupg 542014:netblue::firejail /usr/bin/gimp
51.br 55.br
521429:netblue::/usr/bin/firejail /opt/firefox/firefox 56 Virtual dirs: /tmp, /var/tmp, /dev, /usr/share,
53.br 57.br
54 Virtual dirs: /home/netblue, /tmp, /var/tmp, /dev, /etc, 58 Warning: I can run programs in /home/netblue
59.br
60
55.br 61.br
565602:netblue::/usr/bin/firejail /usr/bin/ssh netblue@x.y.z.net 622055:netblue::firejail /usr/bin/ssh -X netblue@x.y.z.net
57.br 63.br
58 Virtual dirs: /var/tmp, /dev, 64 Virtual dirs: /var/tmp, /dev, /usr/share, /run/user/1000,
59.br 65.br
60 Warning: I can read ~/.ssh 66 Warning: I can read ~/.ssh
61.br 67.br
625926:netblue::/usr/bin/firejail /usr/bin/gimp-2.10 68
69.br
702186:netblue:libreoffice:firejail --appimage /opt/LibreOffice-fresh.appimage
63.br 71.br
64 Virtual dirs: /tmp, /var/tmp, /dev, 72 Virtual dirs: /tmp, /var/tmp, /dev,
65.br 73.br
66 Warning: I can run programs in /home/netblue 74
67.br 75.br
686394:netblue:libreoffice:/usr/bin/firejail libreoffice 7626090:netblue::/usr/bin/firejail /opt/firefox/firefox
69.br 77.br
70 Virtual dirs: /tmp, /var/tmp, /dev, 78 Virtual dirs: /home/netblue, /tmp, /var/tmp, /dev, /etc, /usr/share,
71.br 79.br
80 /run/user/1000,
81.br
82
83.br
8426160:netblue:tor:firejail --private=~/tor-browser_en-US ./start-tor
85.br
86 Warning: AppArmor not enabled
87.br
88 Virtual dirs: /home/netblue, /tmp, /var/tmp, /dev, /etc, /bin,
89.br
90 /usr/share, /run/user/1000,
91.br
92 Warning: I can run programs in /home/netblue
93.br
94
72 95
73.SH LICENSE 96.SH LICENSE
74This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 97This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
75.PP 98.PP
76Homepage: https://firejail.wordpress.com 99Homepage: https://firejail.wordpress.com
77.SH SEE ALSO 100.SH SEE ALSO
78\&\flfirejail\fR\|(1), 101.BR firejail (1),
79\&\flfirecfg\fR\|(1), 102.BR firemon (1),
80\&\flfirejail-profile\fR\|(5), 103.BR firecfg (1),
81\&\flfirejail-login\fR\|(5) 104.BR firejail-profile (5),
82\&\flfirejail-users\fR\|(5) 105.BR firejail-login (5),
106.BR firejail-users (5),