Hi!
I have installed IRIS 2024.1 in RHEL 9.5, using the following
sudo ISC_PACKAGE_INSTANCENAME="IRISTEST01""/iris"
I noticed some strange behaviour running $ZF, when the user appears to be "irisusr" but I can see the environment variables of "irisowner". I configured a RunLegacyTask scheduled task, with the following code
do $zf(-1, "id > /tmp/output.task.log && env >> /tmp/output.task.log")
it happens the same if I use $ZF(-100)
do $zf(-100, "/shell /stdout=""/tmp/output.task.log""", "id", "&&", "env")
and this is the content of the file
uid=5003(irisusr) gid=5003(irisgrp) groups=5003(irisgrp) context=system_u:system_r:unconfined_service_t:s0
SHELL=/bin/bash
PWD=/iris/mgr
LOGNAME=irisowner
SYSTEMD_EXEC_PID=2690
HOME=/home/irisowner
CACHELIBPATH=
LANG=en_AU.UTF-8
INVOCATION_ID=8f6c359d14cf45b68ad1cec687cc4188
ODBCINI=/iris/mgr/irisodbc.ini
USER=irisowner
COMLIB=/iris/bin
SHLVL=2
JOURNAL_STREAM=8:25453
PATH=/usr/bin:/bin:/usr/sbin:/usr/