On 15/10/2017 10:57 PM, Kirk Wolf wrote:
I guess COZBATCH has left out /bin/login, and exec()s to the shell to
avoid the above restrictions.

That's almost right, but COZBATCH uses spawn.  By default it will run the
user's shell as a "login" shell.   The tricky part is that /bin/sh has a
sticky bit on, so to get a local spawn you have to use one of the
workarounds documented in BPX1SPN

What workaround?

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

Reply via email to