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

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

    XMLWordPrintableJSON

Details

    • Mesosphere Sprint 47, Mesosphere Sprint 48, Mesosphere Sprint 50
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: