Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-15842

Running eZScript scripts as root should be discouraged

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 4.0.7, 4.1.4, 4.2.0
    • Fix Version/s: 4.1.5, 4.2.1, 4.3.0beta1
    • Component/s: Misc
    • Labels:
      None

      Description

      It should be possible to run scripts as root, but I suggest that ezscript by default should exit with an error:
      "Running scripts as root may be dangerous. If you are sure you know what you are doing, you can run this script as root by appending the parameter --run-as-root"

      Appending the --run-as-root parameter would allow scripts to continue executing when run as root. It would have no effect when not run as root.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                qwix Jérôme Renard
                Reporter:
                gl (inactive) Gunnstein Lye
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: