Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6504

Use 'geteuid()' for the root privileges check.

    XMLWordPrintableJSON

    Details

    • Target Version/s:
    • Sprint:
      Mesosphere Sprint 47, Mesosphere Sprint 48, Mesosphere Sprint 50
    • Story Points:
      3

      Description

      Currently, parts of code in Mesos check the root privileges using os::user() to compare to "root", which is not sufficient, since it compares the real user. When people change the mesos binary by 'setuid root', the process may not have the right permission to execute.

      We should check the effective user id instead in our code.

        Attachments

          Activity

            People

            • Assignee:
              gilbert Gilbert Song
              Reporter:
              gilbert Gilbert Song
              Shepherd:
              Jie Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: