Magic Cookie authentication uses a random sequence of numbers to help authenticate the user. This random sequence of numbers is kept in the users home directory in the .TTauthority file. If the user is the same on both ends of the connection and the home directories are the same
then no other steps are necessary to allow authentication. However, if the user's home directory is not available or there are different users involved then one must share the Magic Cookie random sequence in order to authenticate. This can be done using the /usr/dt/bin/ttauth. Care in transmitting of Magic Cookies must be taken.The ttauth command is made up of a series of subcommands.For sharing of Magic Cookies the most interesting ones are list, extract, merge (see 'ttauth help' for a full list). The list subcommand will list all Magic Cookies that are contained in the authority file. The format of the list displayed is as follows:
<protoname> <protodata> <netid> <authname> <authdata>
hope this helps.
Regards,
Carlos Almeida,