Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-427

user environment for contain in commands bodies

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      There have been a few times that commands I need to run require environment. I have resorted to using /bin/su --login --command but it seems like an ugly hack.

      I know I can set environments in body agent control, but its something I only need on a selective basis. It would be nice to have the ability to get the users login environment from a contain body. It would also be nice to set arbitrary environment variables in a contain body.

      Related
      https://cfengine.com/forum/read.php?3,23529
      https://groups.google.com/forum/?hl=en&fromgroups=#!topic/help-cfengine/wx4hE_T0blA

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jiraadmin Old User (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel