You could intentionally shoot yourself in the foot, but it is not recommended :-)
Which userid is looked up is "undefined". Also, many programs that look up the "home directory" for one of these userids will get the wrong home directory. Kirk Wolf Dovetailed Technologies http://dovetail.com On Tue, Jun 18, 2013 at 7:04 AM, John McKown <[email protected]>wrote: > I've had it change on occasion. But it may well have been done due to my > messing around with RACF definitions. I don't remember ever reading in the > books about how this is determined. Which would make it "unspecified" and > so subject to change without notice. I.e. a PTF might change how RACF did > the look up. And an SR on it would likely get a "don't do that!" and "WAD". > The only UID that I have duplicated is a few RACF ids which map to UID==0. > And that's mainly because I can't get the time to carefully change and test > each of the "alternate" RACF ids from using UID==0 to using RACF > "superuser" profiles. My RACF id is not UID 0, but I have almost all the > "superuser" RACF profiles. And there is very little I can't do. The little > that I can't do directly, but I can do those via "sudo". At worst I do a > "sudo su -" to switch my UNIX authorities to "root". > > On Tue, Jun 18, 2013 at 5:53 AM, Ted MacNEIL <[email protected]> wrote: > > > I believe it's based on the first id retrieved from the RACF database > that > > matches. > > > > Try asking on the RACF or MBS-OE lists. > > - > > Ted MacNEIL > > [email protected] > > Twitter: @TedMacNEIL > > > > -----Original Message----- > > From: Adam <[email protected]> > > Sender: IBM Mainframe Discussion List <[email protected]> > > Date: Tue, 18 Jun 2013 05:38:56 > > To: <[email protected]> > > Reply-To: IBM Mainframe Discussion List <[email protected]> > > Subject: Unix ID command and username value > > > > We have a system where two RACF userids are defined with the same uid. > > (This is deliberate and is intended to simplify access using NFS and > other > > OS.) > > > > My question is about the username value that is displayed in response to > > the "id" command (and as file owner). > > > > The same applies to use of uid(0). For example, if I logon to TSO with a > > userid (TSSAAA) that has a uid(0) and I issue the "id" command from "TSO > > OMVS", it will return: > > "uid=0(TSSXXX) gid=... groups=..." > > but TSSXXX is not my userid, but that of a colleague who also has uid(0). > > > > According to the documentation - "The output has the format: > > uid=runum(username) gid=rgnum(groupname) > > where runum is the user's real user ID (UID) number, username is the > > user's real user name" > > > > When there are two (or more) RACF userids with the same uid in the OMVS > > segment, how is the value in username determined? > > > > Thanks, > > > > Adam > > > > ---------------------------------------------------------------------- > > 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 is a test of the Emergency Broadcast System. If this had been an > actual emergency, do you really think we'd stick around to tell you? > > 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
