Forum: CFEngine Help
Subject: Re: Commands and environment variables
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,26106,26112#msg-26112

The contain body only says to run as the user - not to start a login shell as 
the user (which is what loads that user's environment).  The environment is 
therefore still the environment of the user who started the cfagent process.  
It's like the difference between "su user" and "su - user".

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to