aboutsummaryrefslogtreecommitdiffstats
path: root/src/man/firejail-login.5.in
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-07-12 01:55:07 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-07-13 11:43:53 -0300
commit76bd5ad0f8347bc111c30f67b2eb151c2e5870ed (patch)
tree3fd235c83d6ce45451abc80dca27420203d3aad6 /src/man/firejail-login.5.in
parentbuild: restore seccomp filter targets (diff)
downloadfirejail-76bd5ad0f8347bc111c30f67b2eb151c2e5870ed.tar.gz
firejail-76bd5ad0f8347bc111c30f67b2eb151c2e5870ed.tar.zst
firejail-76bd5ad0f8347bc111c30f67b2eb151c2e5870ed.zip
build: simplify code related to man pages
Simplify the main targets and use wildcards instead of repeating the filenames manually. Also, restore the `man` target and building only when `HAVE_MAN` is enabled. Note: Make automatically removes intermediate files (.1 and .5), so in general only the .gz files have to be cleaned. Commands used to rename the man pages: cd src/man git mv firecfg.txt firecfg.1.in git mv firejail-login.txt firejail-login.5.in git mv firejail-profile.txt firejail-profile.5.in git mv firejail-users.txt firejail-users.5.in git mv firejail.txt firejail.1.in git mv firemon.txt firemon.1.in git mv jailcheck.txt jailcheck.1.in This is kind of a follow-up to commit 9e206b7f2 ("rework src/man Makefile", 2023-07-07).
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 :