>"su -" is considered good practice in other unix environments because 
>root's environment is likely to be quite different to a normal user's 
>environment.
[snip]
>So "su -" is good practice to ensure that you get an environment that
is 
>intended for use with UID 0.

Unfortunately, on z/OS UNIX you typically have more than one userid
having uid=0.

While not perfect, the different path and other settings could be set
from the "uid=0" section of the ENV script I posted. Maybe by sourcing a
shared script to help those with "su" authority to set the same values.
(The script would be readable my UID=0 only).

Mark: Thanks for the remark regarding $ENV. I missed to add it.

--
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