XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0
    • Spark Docker
    • None

    Description

      chgrp root /etc/passwd && chmod ug+rw /etc/passwd

      Wider permissions on /etc/passwd is concerning. What use case is broken if the running user id doesn't exist?

      echo ... >> /etc/passwd

      Having the entrypoint itself modify /etc/passwd is fragile. Are there features that are broken if the user doesn't exist in /etc/passwd (like PostgreSQL's initdb that refuses to run)? Minimally, this should probably use useradd and usermod rather than hand editing.

      Attachments

        Issue Links

          Activity

            People

              yikunkero Yikun Jiang
              yikunkero Yikun Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: