On Mon, 26 Nov 2012 10:17:39 -0800, Donald J. <[email protected]> wrote:

>We have serveral OMVS userids of 0.  Is their any way to control which
>of those gets utilized
>when an "su -" command is entered?  I would like it to be the "omvs"
>userid each time.
>
>Some of the UID 0 userids have a home of /, and a couple have no home
>defined.   Seems like the
>last UID 0 defined is probably the one selected for "su -" and directory
>displays.  I have defined a
>/home/root/.profile and added a soft link for /.profile to go there,
>but if a userid with no home defined is
>selected, it doesn't activate a .profile script.  Owner of those IDs
>doesn't want them changed to add a home.
>--

AFAIK the one that gets used is the userid defined in BPXPRMxx

SUPERUSER(userid)  

In my case it is BPXROOT.   I've never tried changing it to another
UID(0) userid, nor would I ever attempt to.     

BTW, why would whomever defines userids define one with an OMVS
segment that doesn't contain a home DIR?   

Regards,

Mark
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS       
mailto:[email protected]                                        
Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html 
Systems Programming expert at http://expertanswercenter.techtarget.com/

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

Reply via email to