aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-10-21 09:44:58 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-10-21 09:44:58 -0400
commit981ba13ec0b8a88f79b128a09b36bc1474c0f0a1 (patch)
treec6f4634dc32a6c461f1ad997cc56680058b98d7e /src
parentMerge pull request #867 from manevich/misc (diff)
downloadfirejail-981ba13ec0b8a88f79b128a09b36bc1474c0f0a1.tar.gz
firejail-981ba13ec0b8a88f79b128a09b36bc1474c0f0a1.tar.zst
firejail-981ba13ec0b8a88f79b128a09b36bc1474c0f0a1.zip
0.9.44 testing
Diffstat (limited to 'src')
-rw-r--r--src/firejail/main.c1
-rw-r--r--src/man/firejail-login.txt4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c
index 0872a11bb..b5a97c71e 100644
--- a/src/firejail/main.c
+++ b/src/firejail/main.c
@@ -2579,7 +2579,6 @@ int main(int argc, char **argv) {
2579 g = get_group_id("games"); 2579 g = get_group_id("games");
2580 if (g) { 2580 if (g) {
2581 sprintf(ptr, "%d %d 1\n", g, g); 2581 sprintf(ptr, "%d %d 1\n", g, g);
2582 ptr += strlen(ptr);
2583 } 2582 }
2584 2583
2585 EUID_ROOT(); 2584 EUID_ROOT();
diff --git a/src/man/firejail-login.txt b/src/man/firejail-login.txt
index 691217253..796179d0b 100644
--- a/src/man/firejail-login.txt
+++ b/src/man/firejail-login.txt
@@ -13,6 +13,10 @@ Example:
13 13
14 netblue:--net=none --protocol=unix 14 netblue:--net=none --protocol=unix
15 15
16Wildcard patterns are accepted in the user name field:
17
18 user*: --private
19
16.SH RESTRICTED SHELL 20.SH RESTRICTED SHELL
17To configure a restricted shell, replace /bin/bash with /usr/bin/firejail in 21To configure a restricted shell, replace /bin/bash with /usr/bin/firejail in
18/etc/passwd file for each user that needs to be restricted. Alternatively, 22/etc/passwd file for each user that needs to be restricted. Alternatively,