-
Story
-
Resolution: Done
-
Minor
-
RH134 - Early Access
-
None
-
11
-
en-US (English)
URL:
Reporter RHNID: mikephillips1973
Section: -
Language: en-US (English)||||||||
Workaround:
Description: In chapter 11, on the "Controlling SELinux Port Labeling" page (ch11s03), in the "Managing Port Labels" section, it would be nice if we helped students with the steps needed to identify the default port for a service and then the default SELinux port label for a specified port.
For example, grep for a pattern in /etc/services:
$ grep gopher /etc/services
gopher 70/tcp
gopher 70/udp
Identify the default SELinux port label for a given port:
$ semanage port -l | grep -w SOMENUMER
$ semanage port -l | grep -w 70
gopher_port_t tcp 70
gopher_port_t udp 70