aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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,