On 2015-08-26 13:41, Mark Zelden wrote:
>>>
>> Do you mean "cd ~NAME1"?  But I thought tilde expansion is case-insensitive:
> 
> Sorry, I meant if I issued "cd /u/NAME1" it will automount the FS associated 
> with /u/name1 
> due to the contents of /etc/ualiastable.
> 
I doubt that the ualiastable is consulted for that operation.
I suspect (but haven't the authority to test) that if the
map contains specific entries for both /u/name1 and /u/NAME1
"cd" to either will mount that exact path name.

As for cd ~Name1 (orthography intended), I believe that shell,
which substitutes for tilde, calls getuid(), which treats its
argument as case-insensitive (I need to test this) and returns
the UID for Name1 (same as name1 or NAME1), even in the absence
of ualiastable.  Then getpwuid() returns the home directory
for that UID as-is in the RACF OMVS segment (what if two TSO IDs
have the same UID?  Don't do that!)

Is the ualiastable case sensitive?  Can it contain separate
entries for NAME1, mapping to LARRY; Name1, mapping to MOE;
and name1, mapping to CURLY?

A real UNIX system wouldn't deal in this case-insensitivity
mickeymouse.  If my TSO ID is GIL, that should be my UNIX
ID. The flexibility of being able to log in as GIL, Gil,
or gil benefits me little or nothing.

On a Linux system:

502 $ echo ~paulgilm
/home/paulgilm            # resolved
503 $ echo ~PAULGILM
~PAULGILM                 # unresolved
504 $ echo ~PaulGilm
~PaulGilm                 # unresolved

... I can live with that.

-- gil

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

Reply via email to