If you have multiple users with the same UID, it can cause issues I 
believe.  I'm not quite sure what you are after for the whoami command? 
What do you mean by they want to see their USERID, do you mean their RACF 
ID? 



Skip:   both whoami and id are Unix commands, and are found in /bin

Both are compiled code

whoami -- Display your effective user name
When I run whoami I get back my User Name

id displays the user name and group affiliations
When I run id I get back  my UID(Username) GID(Group Name) 


Thanks;

Nathan Pfister
zOS Systems Programmer
AES\PHEAA - Tech Services
[email protected]
(717) 720-2663



From:   "Skip Robinson" <[email protected]>
To:     [email protected]
Date:   12/13/2013 12:35 PM
Subject:        Re: OMVS UID display
Sent by:        "IBM Mainframe Discussion List" <[email protected]>



I don't see that 'commands' like ID or WHOAMI are true z/OS components. We 

have some variations of these as CLIST or Rexx that live in 
installation-defined libraries. 

Obtaining additional data for such commands may depend on the authority of 

the user. For example, anyone can issue LU (LISTUSER) for oneself, but 
getting info for another user requires at least AUDIT authority. 

.
.
JO.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
626-302-7535 Office
323-715-0595 Mobile
[email protected]



From:   Nathan J Pfister <[email protected]>
To:     [email protected], 
Date:   12/13/2013 09:22 AM
Subject:        Re: OMVS UID display
Sent by:        IBM Mainframe Discussion List <[email protected]>



I'm not sure quite what you're trying to do...but maybe the 'id' command 
would be better than the 'whoami' command for you?

Thanks;

Nathan Pfister
zOS Systems Programmer
AES\PHEAA - Tech Services




From:   "venkat kulkarni" <[email protected]>
To:     [email protected]
Date:   12/13/2013 12:19 PM
Subject:        OMVS UID display
Sent by:        "IBM Mainframe Discussion List" <[email protected]>



Hello,
 When I  am trying to use WHOAMI command on omvs I am getting my UID
displayed, but my requirement is to display userid as output of WHOAMI
command.

Can anyone one suggest where to make this change to display userid inplace
of UID for this command.


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



This message contains privileged and confidential information intended for the 
above addressees only.  If you 
receive this message in error please delete or destroy this message and/or 
attachments.  

The sender of this message will fully cooperate in the civil and criminal 
prosecution of any individual engaging 
in the unauthorized use of this message.

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

Reply via email to