aboutsummaryrefslogtreecommitdiffstats
path: root/src/man
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-09-07 20:14:06 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2015-09-07 20:14:06 -0400
commit482782e22968ccfe3dd53018d94fe33f1e22e01c (patch)
treeecaed09d6490d24c41be17279045da06ead4ea2f /src/man
parentMerge pull request #55 from sarneaud/globbing (diff)
downloadfirejail-482782e22968ccfe3dd53018d94fe33f1e22e01c.tar.gz
firejail-482782e22968ccfe3dd53018d94fe33f1e22e01c.tar.zst
firejail-482782e22968ccfe3dd53018d94fe33f1e22e01c.zip
implemented --whitelist option
Diffstat (limited to 'src/man')
-rw-r--r--src/man/firejail-login.txt4
-rw-r--r--src/man/firejail.txt13
2 files changed, 15 insertions, 2 deletions
diff --git a/src/man/firejail-login.txt b/src/man/firejail-login.txt
index 1d6a8d80e..c3ee50ecf 100644
--- a/src/man/firejail-login.txt
+++ b/src/man/firejail-login.txt
@@ -16,9 +16,11 @@ Example:
16.SH RESTRICTED SHELL 16.SH RESTRICTED SHELL
17To configure a restricted shell, replace /bin/bash with /usr/bin/firejail in 17To configure a restricted shell, replace /bin/bash with /usr/bin/firejail in
18/etc/password file for each user that needs to be restricted. Alternatively, 18/etc/password file for each user that needs to be restricted. Alternatively,
19you can specify /usr/bin/firejail in adduser command: 19you can specify /usr/bin/firejail using adduser or usermod commands:
20 20
21adduser \-\-shell /usr/bin/firejail username 21adduser \-\-shell /usr/bin/firejail username
22.br
23usermod \-\-shell /usr/bin/firejail username
22 24
23.SH FILES 25.SH FILES
24/etc/firejail/login.users 26/etc/firejail/login.users
diff --git a/src/man/firejail.txt b/src/man/firejail.txt
index cfd00456b..4bf537c95 100644
--- a/src/man/firejail.txt
+++ b/src/man/firejail.txt
@@ -109,7 +109,7 @@ $ firejail \-\-blacklist=/sbin \-\-blacklist=/usr/sbin
109.br 109.br
110$ firejail \-\-blacklist=~/.mozilla 110$ firejail \-\-blacklist=~/.mozilla
111.br 111.br
112$ firejail "\-\-blacklist=My Virtual Machines" 112$ firejail "\-\-blacklist=/home/username/My Virtual Machines"
113.TP 113.TP
114\fB\-c 114\fB\-c
115Execute command and exit. 115Execute command and exit.
@@ -1091,6 +1091,17 @@ $ firejail \-\-version
1091.br 1091.br
1092firejail version 0.9.27 1092firejail version 0.9.27
1093.TP 1093.TP
1094\fB\-\-whitelist=dirname_or_filename
1095Whitelist directory or file. Only files in user home directory are accepted.
1096.br
1097
1098.br
1099Example:
1100.br
1101$ firejail \-\-whitelist=~/.mozilla \-\-whitelist=~/Downloads
1102.br
1103$ firejail "\-\-whitelist=/home/username/My Virtual Machines"
1104.TP
1094\fB\-\-zsh 1105\fB\-\-zsh
1095Use /usr/bin/zsh as default user shell. 1106Use /usr/bin/zsh as default user shell.
1096.br 1107.br