John,

The shell will be running as the user specified. I'm not sure about
environment variables, though. Perhaps, the easiest way to get known
is to run "set" with your body contain and inspect the output. I'd
rather suggest not to rely on ~ paths, though.

2011/10/8 D'Ausilio, John <[email protected]>:
> So .. I have my contain body set up with gid/uid and using the shell. Is
> that shell running as the user specified in exec_user? What's the
> environment when my command executes? I seem to be getting inconsistent
> results .. for instance sometimes paths anchored with ~ do what I
> expect, other times not ..


-- 
SY, Seva Gluschenko.
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to