Life will be easier if you learn how to use Unix commands, e.g., su, sudo, from 
the command line.

________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Boyer, William <00000442c7525a40-dmarc-requ...@listserv.ua.edu>
Sent: Thursday, August 11, 2022 8:50 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Superuser (su) in batch

My userid on z/OS is not a superuser but I have RACF READ access to 
BPX.SUPERUSER.   Occasionally as a Systems Programmer, I need to have perform 
something in USS that requires UID=0. In TSO I can switch to EUID=0 by going to 
3.17 (Utilities/Udlist) and type a su which seems to stay set for the entire 
length of the TSO session.   Is there a way do a su in batch and then copy 
files or adjust permits/owner etc.

For example interactively, I can set my euid=0 with su in 3.17, then go to =6 
and type in OPUT to copy files into USS to directories that my normal uid does 
not have permission but the OPUT works because I am still euid=0.  I am looking 
for a way to do this in batch.

Thanks

William Boyer
System Engineer Sr Advisor

T   410-842-1706
william.bo...@gdit.com
One W. Pennsylvania Ave
Towson, MD 21204
https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.gdit.com%2F&amp;data=05%7C01%7Csmetz3%40gmu.edu%7C92aef4326fa44a0f7c8208da7b982b93%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637958190739900298%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=uxIZC5xFLOVT1gKy53MvQHNSH0E7sYWnKehiCAvo4Q0%3D&amp;reserved=0<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.gdit.com%2F&amp;data=05%7C01%7Csmetz3%40gmu.edu%7C92aef4326fa44a0f7c8208da7b982b93%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637958190739900298%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=uxIZC5xFLOVT1gKy53MvQHNSH0E7sYWnKehiCAvo4Q0%3D&amp;reserved=0>






----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to