Yes, UID was defined to RACF and I am able to display like below.
OMVS INFORMATION ---------------- UID= 0000012345 HOME= /u/venkatg PROGRAM= /bin/sh CPUTIMEMAX= NONE ASSIZEMAX= NONE FILEPROCMAX= NONE PROCUSERMAX= NONE THREADSMAX= NONE MMAPAREAMAX= NONE so, are we still not clear about the output of WHOAMI and ID command. On Fri, Dec 13, 2013 at 11:44 PM, Nathan J Pfister <[email protected]>wrote: > Make sure that the user has a UID defined within RACF. > > You can do an ALTUSER UNAME OMVS( UID(12345) HOME('/u/username')) > > I deleted my UID through RACF and got the same error you were getting from > within OMVS. > > Also, when OMVS is started you may see this error which also says there is > no UID set: > Function = seteuid(), terminal name = '/dev/ttyp0000', program name = > '/bin/fomtlinc', errno = 164 (X'000000A4'), reason code = 0B7F > 0804, message = 'EDC5164I SAF/RACF error.' > > > Thanks; > > Nathan Pfister > zOS Systems Programmer > AES\PHEAA - Tech Services > [email protected] > (717) 720-2663 > > > > From: "venkat kulkarni" <[email protected]> > To: [email protected] > Date: 12/13/2013 01:04 PM > Subject: Re: OMVS UID display > Sent by: "IBM Mainframe Discussion List" <[email protected]> > > > > But I am getting output as below. > > $ id > uid=12345 gid=996(DELTG) > $ whoami > Error for uid: 12345 > $ > > Can anyone suggest. > > > On Fri, Dec 13, 2013 at 11:22 PM, John McKown > <[email protected]>wrote: > > > On Fri, Dec 13, 2013 at 11:18 AM, venkat kulkarni < > > [email protected]> wrote: > > > > > 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. > > > > > > > What about the command: > > > > who am i > > > > This is supposed to always give the RACF id of the initial user who did > the > > logon, even if they have done a "su" or some other command to change > their > > effective UID. > > > > > > -- > > This is clearly another case of too many mad scientists, and not enough > > hunchbacks. > > > > Maranatha! <>< > > John McKown > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to [email protected] with the message: INFO IBM-MAIN > > > > ---------------------------------------------------------------------- > 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 > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
