Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-6223

RH134-284: Add steps to identify the default port for a service and then its default SELinux port label

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • RH134 - Early Access
    • RH134
    • 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

            alingaya@redhat.com Ashish Lingayat
            rht-miphilli Michael Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: