On 5/18/2020 10:56 AM, Jousma, David wrote:
My subsequent response was indeed that.  My point though is that "su" followed 
by some other commands do not appear to be executing as UID(0) authority.

Yes, that's normal and expected behavior.  You can see what's happening if you logon and issue the command interactively:

|    EDJX1:/u/edjx1: >whoami
|    EDJX1
|    EDJX1:/u/edjx1: >su;ps -ef
|    EDJX1:/u/edjx1: >whoami
|    BPXROOT
|    EDJX1:/u/edjx1: >exit
|         UID        PID       PPID  C    STIME TTY       TIME CMD
|       EDJX1   50463146   50463152  - 11:57:39 ttyp0000  0:00 ps -ef
|       EDJX1   50463152   67240408  - 11:55:20 ttyp0000  0:00 sh -L
|       EDJX1   67240408   50463193  - 11:55:20 ?         0:00 /usr/sbin/sshd -f /etc/ssh/sshd_config -R
|    EDJX1:/u/edjx1: >whoami
|    EDJX1
|    EDJX1:/u/edjx1: >

--
Phoenix Software International
Edward E. Jaffe
831 Parkview Drive North
El Segundo, CA 90245
https://www.phoenixsoftware.com/


--------------------------------------------------------------------------------
This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not an intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.

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