1sftpd_selinux(8) SELinux Policy sftpd sftpd_selinux(8)
2
3
4
6 sftpd_selinux - Security Enhanced Linux Policy for the sftpd processes
7
9 Security-Enhanced Linux secures the sftpd processes via flexible manda‐
10 tory access control.
11
12 The sftpd processes execute with the sftpd_t SELinux type. You can
13 check if you have these processes running by executing the ps command
14 with the -Z qualifier.
15
16 For example:
17
18 ps -eZ | grep sftpd_t
19
20
21
23 SELinux defines process types (domains) for each process running on the
24 system
25
26 You can see the context of a process using the -Z option to ps
27
28 Policy governs the access confined processes have to files. SELinux
29 sftpd policy is very flexible allowing users to setup their sftpd pro‐
30 cesses in as secure a method as possible.
31
32 The following process types are defined for sftpd:
33
34 sftpd_t
35
36 Note: semanage permissive -a sftpd_t can be used to make the process
37 type sftpd_t permissive. SELinux does not deny access to permissive
38 process types, but the AVC (SELinux denials) messages are still gener‐
39 ated.
40
41
43 SELinux policy is customizable based on least access required. sftpd
44 policy is extremely flexible and has several booleans that allow you to
45 manipulate the policy and run sftpd with the tightest access possible.
46
47
48
49 If you want to allow all domains to execute in fips_mode, you must turn
50 on the fips_mode boolean. Enabled by default.
51
52 setsebool -P fips_mode 1
53
54
55
57 semanage fcontext can also be used to manipulate default file context
58 mappings.
59
60 semanage permissive can also be used to manipulate whether or not a
61 process type is permissive.
62
63 semanage module can also be used to enable/disable/install/remove pol‐
64 icy modules.
65
66 semanage boolean can also be used to manipulate the booleans
67
68
69 system-config-selinux is a GUI tool available to customize SELinux pol‐
70 icy settings.
71
72
74 This manual page was auto-generated using sepolicy manpage .
75
76
78 selinux(8), sftpd(8), semanage(8), restorecon(8), chcon(1), sepol‐
79 icy(8), setsebool(8)
80
81
82
83sftpd 23-02-03 sftpd_selinux(8)