diff options
author | netblue30 <netblue30@yahoo.com> | 2015-09-07 20:14:06 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-09-07 20:14:06 -0400 |
commit | 482782e22968ccfe3dd53018d94fe33f1e22e01c (patch) | |
tree | ecaed09d6490d24c41be17279045da06ead4ea2f /src/man | |
parent | Merge pull request #55 from sarneaud/globbing (diff) | |
download | firejail-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.txt | 4 | ||||
-rw-r--r-- | src/man/firejail.txt | 13 |
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 |
17 | To configure a restricted shell, replace /bin/bash with /usr/bin/firejail in | 17 | To 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, |
19 | you can specify /usr/bin/firejail in adduser command: | 19 | you can specify /usr/bin/firejail using adduser or usermod commands: |
20 | 20 | ||
21 | adduser \-\-shell /usr/bin/firejail username | 21 | adduser \-\-shell /usr/bin/firejail username |
22 | .br | ||
23 | usermod \-\-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 |
115 | Execute command and exit. | 115 | Execute command and exit. |
@@ -1091,6 +1091,17 @@ $ firejail \-\-version | |||
1091 | .br | 1091 | .br |
1092 | firejail version 0.9.27 | 1092 | firejail version 0.9.27 |
1093 | .TP | 1093 | .TP |
1094 | \fB\-\-whitelist=dirname_or_filename | ||
1095 | Whitelist directory or file. Only files in user home directory are accepted. | ||
1096 | .br | ||
1097 | |||
1098 | .br | ||
1099 | Example: | ||
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 |
1095 | Use /usr/bin/zsh as default user shell. | 1106 | Use /usr/bin/zsh as default user shell. |
1096 | .br | 1107 | .br |