>/etc/profile would probably be the correct place to setup the different

>PATH and other settings. However, to execute that (or any other 
>initialization script) I think requires "su -" as we were initially 
>discussing.

I agree. But the OP's problem is that is it more or less unpredictable
which MVS userid will be picked to resolve to an OMVS segment required
to find the HOME path. This is why I thought about a workaround and cane
up with the idea of "su" and the ENV script.

>More than one userid with UID=0 is something I have always felt is a
bad 
>design on z/OS. On the Unix side of the fence the UID is the primary 
>identity, so really you have one UID with varying behaviour depending
on 
>circumstances.

While I basically, I see the need for different tasks to run under
different MVS userids. If more than one of those also require root
rights when requesting UNIX functions, you end up with multiple userids
having uid=0 assigned. Some of the uid=0 requirements may have become
obsolete by the UNIXPRIV class profiles. But installation instructions
probably (I haven't verified) still say "... must be run with
uid=0....". I wonder if UNIXPRIV profiles would allow to run z/OS and
subsystems completely without uid=0 but corresponding UNIXPRIV
authorities instead. Has anyone tried this?

--
Peter Hunkeler

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to