Skip to content

Guide to the Secure Configuration of Red Hat Enterprise Linux 7

Rules, Groups, and Values defined within the XCCDF Benchmark

  • Samba(SMB) Microsoft Windows File Sharing Server

    When properly configured, the Samba service allows Linux systems to provide file and print sharing to Microsoft Windows systems. There are two soft...
    Group
  • Configure Samba if Necessary

    All settings for the Samba daemon can be found in <code>/etc/samba/smb.conf</code>. Settings are divided between a <code>[global]</code> configurat...
    Group
  • Require Client SMB Packet Signing, if using mount.cifs

    Require packet signing of clients who mount Samba shares using the <code>mount.cifs</code> program (e.g., those who specify shares in <code>/etc/fs...
    Rule Unknown Severity
  • Require Client SMB Packet Signing, if using smbclient

    To require samba clients running <code>smbclient</code> to use packet signing, add the following to the <code>[global]</code> section of the Samba ...
    Rule Unknown Severity
  • Disable Root Access to SMB Shares

    Administrators should not use administrator accounts to access Samba file and printer shares. Disable the root user and the wheel administrator gro...
    Rule Unknown Severity
  • Restrict Printer Sharing

    By default, Samba utilizes the CUPS printing service to enable printer sharing with Microsoft Windows workstations. If there are no printers on the...
    Group
  • Restrict SMB File Sharing to Configured Networks

    Only users with local user accounts will be able to log in to Samba shares by default. Shares can be limited to particular users or network address...
    Group
  • Disable Samba if Possible

    Even after the Samba server package has been installed, it will remain disabled. Do not enable this service unless it is absolutely necessary to pr...
    Group
  • Uninstall Samba Package

    The samba package can be removed with the following command:
     $ sudo yum erase samba
    Rule Unknown Severity
  • Disable Samba

    The smb service can be disabled with the following command:
    $ sudo systemctl mask --now smb.service
    Rule Low Severity

The content of the drawer really is up to you. It could have form fields, definition lists, text lists, labels, charts, progress bars, etc. Spacing recommendation is 24px margins. You can put tabs in here, and can also make the drawer scrollable.

Capacity
Modules