aboutsummaryrefslogtreecommitdiffstats
path: root/src/man/firejail-login.5.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/man/firejail-login.5.in')
-rw-r--r--src/man/firejail-login.5.in43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/man/firejail-login.5.in b/src/man/firejail-login.5.in
new file mode 100644
index 000000000..f03fc3c37
--- /dev/null
+++ b/src/man/firejail-login.5.in
@@ -0,0 +1,43 @@
1.TH FIREJAIL-LOGIN 5 "MONTH YEAR" "VERSION" "login.users man page"
2.SH NAME
3login.users \- Login file syntax for Firejail
4
5.SH DESCRIPTION
6/etc/firejail/login.users file describes additional arguments passed to the firejail executable
7upon user logging into a Firejail restricted shell. Each user entry in the file consists of
8a user name followed by the arguments passed to firejail. The format is as follows:
9
10 user_name: arguments
11
12Example:
13
14 netblue: --net=none --protocol=unix
15
16Wildcard patterns are accepted in the user name field:
17
18 user*: --private
19
20.SH RESTRICTED SHELL
21To configure a restricted shell, replace /bin/bash with /usr/bin/firejail in
22the /etc/passwd file for each user that needs to be restricted. Alternatively,
23you can specify /usr/bin/firejail using the `adduser` or `usermod` commands:
24
25adduser \-\-shell /usr/bin/firejail username
26.br
27usermod \-\-shell /usr/bin/firejail username
28
29.SH FILES
30/etc/firejail/login.users
31
32.SH LICENSE
33Firejail 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.
34.PP
35Homepage: https://firejail.wordpress.com
36.SH SEE ALSO
37.BR firejail (1),
38.BR firemon (1),
39.BR firecfg (1),
40.BR firejail-profile (5),
41.BR firejail-users (5),
42.BR jailcheck (1)
43.\" vim: set filetype=groff :