|
Ok... problem solved.
It turns out that the application will always execute shell commands using the command interpreter /bin/sh.
By default /bin/sh is linked to /bin/bash.
The bash manual page states:
If the shell is started with the effective user (group) id not equal
to the real user (group) id, and the -p option is not supplied, no
startup files are read, shell functions are not inherited from the
environment, the SHELLOPTS variable, if it appears in the environment,
is ignored, and the effective user id is set to the real user id. If
the -p option is supplied at invocation, the startup behavior is the
same, but the effective user id is not reset.
However this does not apply to either ash or ksh.
So by linking /bin/ksh to /bin/sh I get the behavor I need where
the EUID is preserved.
Thanks for all the suggestions.
Bob
|