1ncftool_selinux(8) SELinux Policy ncftool ncftool_selinux(8)
2
3
4
6 ncftool_selinux - Security Enhanced Linux Policy for the ncftool pro‐
7 cesses
8
10 Security-Enhanced Linux secures the ncftool processes via flexible
11 mandatory access control.
12
13 The ncftool processes execute with the ncftool_t SELinux type. You can
14 check if you have these processes running by executing the ps command
15 with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep ncftool_t
20
21
22
24 The ncftool_t SELinux type can be entered via the ncftool_exec_t file
25 type.
26
27 The default entrypoint paths for the ncftool_t domain are the follow‐
28 ing:
29
30 /usr/bin/ncftool
31
33 SELinux defines process types (domains) for each process running on the
34 system
35
36 You can see the context of a process using the -Z option to ps
37
38 Policy governs the access confined processes have to files. SELinux
39 ncftool policy is very flexible allowing users to setup their ncftool
40 processes in as secure a method as possible.
41
42 The following process types are defined for ncftool:
43
44 ncftool_t
45
46 Note: semanage permissive -a ncftool_t can be used to make the process
47 type ncftool_t permissive. SELinux does not deny access to permissive
48 process types, but the AVC (SELinux denials) messages are still gener‐
49 ated.
50
51
53 The SELinux process type ncftool_t can manage files labeled with the
54 following file types. The paths listed are the default paths for these
55 file types. Note the processes UID still need to have DAC permissions.
56
57 net_conf_t
58
59 /etc/hosts[^/]*
60 /etc/yp.conf.*
61 /etc/denyhosts.*
62 /etc/hosts.deny.*
63 /etc/resolv.conf.*
64 /etc/.resolv.conf.*
65 /etc/resolv-secure.conf.*
66 /var/run/cloud-init(/.*)?
67 /var/run/systemd/network(/.*)?
68 /etc/sysconfig/networking(/.*)?
69 /etc/sysconfig/network-scripts(/.*)?
70 /etc/sysconfig/network-scripts/.*resolv.conf
71 /var/run/NetworkManager/resolv.conf.*
72 /etc/ethers
73 /etc/ntp.conf
74 /var/run/systemd/resolve/resolv.conf
75 /var/run/systemd/resolve/stub-resolv.conf
76 /var/run/NetworkManager/no-stub-resolv.conf
77
78 systemd_passwd_var_run_t
79
80 /var/run/systemd/ask-password(/.*)?
81 /var/run/systemd/ask-password-block(/.*)?
82
83
85 SELinux requires files to have an extended attribute to define the file
86 type.
87
88 You can see the context of a file using the -Z option to ls
89
90 Policy governs the access confined processes have to these files.
91 SELinux ncftool policy is very flexible allowing users to setup their
92 ncftool processes in as secure a method as possible.
93
94 The following file types are defined for ncftool:
95
96
97
98 ncftool_exec_t
99
100 - Set files with the ncftool_exec_t type, if you want to transition an
101 executable to the ncftool_t domain.
102
103
104
105 Note: File context can be temporarily modified with the chcon command.
106 If you want to permanently change the file context you need to use the
107 semanage fcontext command. This will modify the SELinux labeling data‐
108 base. You will need to use restorecon to apply the labels.
109
110
112 semanage fcontext can also be used to manipulate default file context
113 mappings.
114
115 semanage permissive can also be used to manipulate whether or not a
116 process type is permissive.
117
118 semanage module can also be used to enable/disable/install/remove pol‐
119 icy modules.
120
121
122 system-config-selinux is a GUI tool available to customize SELinux pol‐
123 icy settings.
124
125
127 This manual page was auto-generated using sepolicy manpage .
128
129
131 selinux(8), ncftool(8), semanage(8), restorecon(8), chcon(1), sepol‐
132 icy(8)
133
134
135
136ncftool 23-02-03 ncftool_selinux(8)