MCOOKIE

Section: Linux Programmer's Manual (1)
Updated: 25 September 1995
Index
Return to Main Contents
 

À̸§

mcookie - xauth¸¦ À§ÇÑ magic cookies¸¦ »ý¼ºÇÑ´Ù.  

»ç¿ë¹ý

mcookie [-v] [-f filename ]  

¼³¸í

mcookie ¸í·ÉÀº X authority system¿¡¼­ »ç¿ëÇϱâ À§ÇØ 128ºñÆ® ¹«ÀÛÀ§ 16Áø¼ö¸¦ »ý¼ºÇÑ´Ù. ÀüÇüÀûÀ¸·Î ´ÙÀ½°ú °°Àº ¸í·ÉÇü½ÄÀ¸·Î »ç¿ëµÈ´Ù.
xauth add :0 . `mcookie`

¹«ÀÛÀ§·Î »ý¼ºµÇ´Â 16Áø¼ö´Â MD5 ¸Þ½ÃÁö¸¦ ´ã°í Àִµ¥, ±× ¸Þ½ÃÁö´Â ÇöÀç ½Ã°£, ÇÁ·Î¼¼½º ID, »óÀ§ ÇÁ·Î¼¼½º, -f ¿É¼Ç¿¡¼­ ÁöÁ¤ÇÑ ÆÄÀÏÀÇ ³»¿ë, /dev/urandom, /dev/random, /dev/audio ÀåÄ¡µéÀÇ Á¤º¸¸¦ ´ã°í ÀÖ´Â ¿©·¯ ¹ÙÀÌÆ®µéÀÌ´Ù. /proc °æ·Î ¾È¿¡ ÀÖ´Â ¿©·¯ ÆÄÀϵéÀÌ ¶ÇÇÑ »ç¿ëµÇ±âµµ ÇÑ´Ù.  

¹ú·¹

The entropy in the generated 128-bit is probably quite small (and, therefore, vulnerable to attack) unless a non-pseudorandom number generator is used (e.g., /dev/random under Linux).

It is assumed that none of the devices opened will block.  

FILES

/dev/random
/dev/urandom
/dev/audio
/proc/stat
/proc/loadavg  

SEE ALSO

X(1), xauth(1), md5sum(1)


 

Index

À̸§
»ç¿ë¹ý
¼³¸í
¹ú·¹
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 08:06:55 GMT, March 25, 2004