Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to generate MIT-MAGIC-COOKIE-1 hexkey

Status
Not open for further replies.

mingx98

Technical User
Mar 16, 2000
78
CA
with /usr/openwin/bin/xauth or
/usr/openwin/bin/xdm can get a
MIT-MAGIC-COOKIE-1 hexkey for
Window PC,
what I want is to grant a PC can be a X xlient .
if I get this , I add the entry to
.Xauthority,

Thanks
 
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,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top