Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-35415

systemd CAP_DAC_OVERRIDE possibly overkill

    XMLWordPrintable

Details

    • Not for Release Notes

    Description

      systemd unit claims:

      # CAP_DAC_OVERRIDE To allow auth_pam_tool (which is SUID root) to read /etc/shadow when it's chmod 0
      #   does nothing for non-root, not needed if /etc/shadow is u+r
      

      It may be possible to reduce this to CAP_DAC_READ_SEARCH without breaking anything else, to prevent `SELECT INTO OUTFILE` from creating files in unexpected locations (those not prevented by ProtectSystem)

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              mg MG
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.