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

Running eZScript scripts as root should be discouraged

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.1.5, 4.2.1, 4.3.0beta1
    • 4.0.7, 4.1.4, 4.2.0
    • Misc
    • 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

        Activity

          People

            qwix qwix
            gl gl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: