On Mon, 26 Nov 2012 10:48:43 -0800, Donald J. <[email protected]> wrote:
>No, that's doesn't do it. >We have: > BROWSE SYS1.SY1.PARMLIB(BPXPRM00) - 01 Line 00000180 Col 001 080 > Command ===> Scroll > ===> CSR > SUPERUSER(BPXROOT) > > ---> su - >/home/root ===> env >... >LOGNAME=OMVS > >/home/root ===> ll /bin/z* >-rwxr-xr-x 3 OMVS 1 188416 Nov 12 2009 /bin/zcat -- > Since I always just use SU without the '-' flag, I never noticed. When I used the flag, I get OMVSKERN which is the userid of OMVS.* in the started class. If I don't use the shell flag, an "id" command under unix still says my uid(0) userid is OMVSKERN. I saw the same thing in a different sysplex with a different userid defined for STDATA in the OMVS.* started profile. Init & Tuning says says the BPXPRMxx specification is used as follows: "When a daemon issues a setuid() to set a UID to 0 and the user ID is not known, setuid() uses the user ID from the SUPERUSER statement." The man pages for "su" says the same and more... 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
