XAUTH(1) | General Commands Manual | XAUTH(1) |
̾??¶
xauth - X ??ǧ?ڥե????????桼?ƥ????ƥ?
????¶
xauth [ -f authfile ] [ -vqib ] [ command arg ... ]
????¶
xauth ?ץ????????? X ?????Ф???³???뤿????ǧ?ھ??????Խ???ɽ???? ???Ѥ??롣???Υץ??????????̾?????ޥ???ǧ?ڥ쥳???ɤ??????Ф??? (???⡼?ȥ?????????¾?Υ桼???ؤΥ????????????Ĥ????????Τ褦??)¾?Υ? ??????ǧ?ڥ쥳???ɤ˥ޡ????????Τ˻??Ѥ????롣???˽Ҥ٤륳?ޥ??ɤ? xauth ???ޥ??ɹԤ???????Ū?????Ϥ??뤫?????????ץ????ǻ??ꤹ?롣 ???Υץ????????? generate ???ޥ??ɤ??Ȥ????ʳ??ˤ? X ?????Ф? ??³???ʤ????????դ??뤳?ȡ? ?̾xauth ?Ϻǽ???ǧ?ڥե??????????????뤿???ˤϻȤ????ʤ??? ?????? xdm ???Ԥ???
???ץ?????¶
xauth ?Ǥϼ??Υ??ץ????????Ȥ????Ȥ??Ǥ??롣 ???ץ????????̡??˻??ꤹ??(?㤨?? -q -i)?????Ҥ??ƻ??? ????(?㤨?? -qi)??
- -f authfile
- ???Υ??ץ??????ϻ??Ѥ???ǧ?ڥե???????̾???????ꤹ?롣?ǥե????ȤǤϡ? xauth ?? XAUTHORITY ?Ķ??ѿ??ǻ??ꤵ?줿?ե??????ޤ??ϥ桼???? ?ۡ????ǥ??쥯?ȥ??? .Xauthority ?????Ѥ??롣
- -q
- ???Υ??ץ??????????ꤹ???? xauth ?????Ϥ???ư???;?פ? ???֥??å??????????Ϥ??ʤ??? xauth ?Υ??ޥ??ɤޥ??ɹԤ???Ϳ?????????ȡ?ɸ?????Ϥ?ü???? ???????쥯?Ȥ????Ƥ??ʤ??????ˤϡ????Υ??ץ????ǥե????Ȥ?ͭ???Ȥʤ롣
- -v
- ???Υ??ץ??????????ꤹ???ȡ?xauth ??ư????ɽ?????ܤ????Ԥ??褦?? ?ʤꡢ??????ư???η???(??: ?쥳???ɤ????ɤ߽?????)?????Ϥ??롣 xauth ?Υ??ޥ??ɤ?ɸ?????Ϥ???Ϳ?????줿?????ȡ?ɸ?????? ??ü???˥??????쥯?Ȥ????Ƥ????????ϡ????Υ??ץ????ǥե????Ȥ?ͭ?? ?Ȥʤ롣
- -i
- ???Υ??ץ??????????ꤹ???ȡ?xauth ?????Ƥ?ǧ?ڥե??????Υ??å??? ̵?뤹?롣?̾xauth ??¾?Υץ???????(?̾??? xdm ??¾?? xauth)?ˤ??????å????????ä?ǧ?ڥե????????ɤ߹??ߤ??Խ??????ݤ??롣
- -b
- ???Υ??ץ??????????ꤹ???ȡ?xauth ??³?Ԥ??????˥ե??????Υ??å? ?????????褦?Ȥ??롣 ???Υ??ץ???????̵??̣?ˤʤä????å????????????????ˤ??????Ѥ??뤳?ȡ?
???ޥ???¶
???Υ??ޥ??ɤ??Ȥä?ǧ?ڥե???????????뤳?Ȥ??Ǥ???:
- add displayname protocolname hexkey
- ???ꤷ???ǥ????ץ쥤???Ф???ǧ?ڥ????ȥ (Ϳ?????ץ??ȥ????ȸ??ǡ??????Ȥ?)??ǧ?ڥե????????ɲä??롣 ?ǡ?????Ĺ?????????? 16 ?ʿ??ǻ??ꤵ?졢???줾???? 16 ?ʿ??Ϥդ??Ĥ??? ?Υڥ??Ȥʤäƥ????ƥåȤ?ɽ???? ?ƥڥ??κǽ??η??ϥ????ƥåȤξ??? 4 ?ӥåȤ?Ϳ???? ???η??ϲ??̤? 4 ?ӥåȤ?Ϳ???롣 ?㤨?С?32 ʸ???? 16 ?ʿ??θ??? 128 ?ӥåȤ??ͤ?ɽ???? ?ץ??ȥ???̾??ñ?ˤҤȤĤΥԥꥪ?ɤǤ????????ˤϡ??????? MIT-MAGIC-COOKIE-1 ?ξ?ά???Ȥ??ư??????롣
- generate displayname protocolname
- [trusted|untrusted]" [timeout seconds] [group
group-id] [data hexdata]
???Υ??ޥ??ɤ? add ?˻??Ƥ??롣???ʰ㤤?ϥ桼???˸??ǡ?????Ϳ?????? ???˵????ʤ??ǡ?displayname ?ǻ??ꤷ???????Ф???³????SECURITY ??ǽ??ĥ???ȤäƸ??ǡ?????????????ǧ?ڥե??????˳?Ǽ???롣?????Ф??? ³?Ǥ??ʤ??????䡢SECURITY ??ǽ??ĥ?????ѤǤ??ʤ??????ˤϡ????ޥ??ɤ? ???Ԥ??롣?????Ǥʤ??????ˤϡ?Ϳ?????ץ??ȥ??????ȤäƤ??????ꤷ?? ?ǥ????ץ쥤?Ѥ?ǧ?ڥ????ȥǧ?ڥե????????ɲä????롣?ץ??ȥ???̾?? ?????ҤȤĤΥԥꥪ?ɤǤ??????硢?????? MIT-MAGIC-COOKIE-1 ?ξ?ά?? ?Ȥ??ư??????롣
trusted ???ץ????????Ȥ??ȡ?????ǧ?ڤ????Ѥ?????³???륯?饤?????? ???̾??̤ꡢ?ǥ????ץ쥤???????¤ʤ??˼¹ԤǤ??롣untrusted ?? ???Ѥ????ȡ?????ǧ?ڤ??Ȥä???³???륯?饤?????ȤϿ??ꤵ?줺?????ꤵ?? ?????饤?????Ȥ????ĥǡ??????????????????Ԥ????Ȥ??Ǥ??ʤ??????ꤵ???? ?????饤?????Ȥ˲ݤ????줿???¤ξܺ٤ˤĤ??Ƥ? SECURITY ??ǽ??ĥ?λ??? ?Ȥ??뤳?ȡ????Υ??ץ??????Υǥե??????ͤ? untrusted ?Ǥ??롣
timeout ???ץ??????ϡ?????ǧ?ڤ?ͭ?????֤???ñ?̤ǻ??ꤹ?롣ǧ?? ?????δ??ְʾ????Ѥ????ʤ??ޤ?(???饤?????Ȥ???³???ʤ?)?ξ??硢?????? ??ǧ?ڤ??????????????ʹߤϡ?????ǧ?ڤ??Ȥä???³?λ??ߤϼ??Ԥ??롣?????? ?ˤ????????Ǥϡ?ǧ?ڥե?????????ǧ?ڥ????ȥ?κ??????Ԥ????ʤ??? ?????դ??뤳?ȡ?timeout ?Υǥե??????ͤ? 60 ?äǤ??롣
group ???ץ??????ϡ?????ǧ?ڤ???³???륯?饤?????Ȥ?°???? ???ץꥱ???????롼?פ????ꤹ?롣?ܺ٤ˤĤ??Ƥϥ??ץꥱ???????롼?? ??ǽ??ĥ?λ??ͤȤ??뤳?ȡ??ǥե????ȤǤϤɤΥ??ץꥱ???????롼?? ?ˤ?°???Ƥ??ʤ???
data ???ץ??????ϥ????Ф?ǧ?ڤ????????뤿???˻??Ѥ????ǡ????????? ???롣??????ǧ?ڥե??????˽??ޤ????ǡ?????Ʊ???Ǥ??ʤ????? ???դ??뤳?ȡ????Υǡ????β?????ǧ?ڥץ??ȥ????˰?¸???롣hexdata ?ν? add ???ޥ??ɤ????˵??Ҥ??? hexkey ??Ʊ???Ǥ??롣 ?ǥե????ȤǤϥǡ????????????ʤ???
- [n]extract filename displayname...
- ???ꤷ???ǥ????ץ쥤????ǧ?ڥ????ȥ?????ꤷ???ե??????˽??ޤ??롣 nextract ???ޥ??ɤ????Ѥ????ȡ?ǧ?ڥ????ȥ??(?????Τʤ??Żҥ?? ?Τ褦??)?Х??ʥ??????Ǥʤ??????˸????Ƥ??????ͽǽ??롣 ?????Ф??줿?????ȥ?? merge ?? nmerge ???ޥ??ɤ??Ȥä??? ???᤹???Ȥ??Ǥ??롣?ե?????̾???ϥ??ե??ҤȤĤ??? ('-') ?Ǥ????????ϡ? ?????ȥ??ɸ?????Ϥ˽Ф????롣
- [n]list [displayname...]
- ???ꤷ???ǥ????ץ쥤??(?ǥ????ץ쥤̾??̵????????????)??ǧ?ڥ????ȥ ??ɸ?????Ϥ˽??Ϥ????롣nlist ???ޥ??ɤ??Ȥä??????ϡ? ǧ?ڥ????ȥ?? nextract ???ޥ??ɤ??????Ǽ????????ͷ?????ɽ???????롣 ?????Ǥʤ??????ˤϡ?ʸ??????????ɽ???????롣 ???ǡ????Ͼ??? add ???ޥ??ɤ?????????16?ʿ???????ɽ???????롣
- [n]merge [filename...]
- ǧ?ڥ????ȥ?????ꤷ???ե????뤫???ɤ߹??ޤ졢ǧ?ڥǡ????١????? ?ޡ????????롣 ???κݡ???¸?Υ????ȥ?˰??פ??륨???ȥ?Ͼ??????롣 nmerge ???ޥ??ɤ????Ѥ????????ϡ? extract ???ޥ??ɤι??ܤ? ???????????ͷ??????Ȥ????롣 ?ե?????̾?????å????ҤȤĤ???(`-')?Ǥ??????硢ɸ?????Ϥ??????? ?ɤ߹??ޤ??Ƥ??ʤ????С??????ȥ??ɸ?????Ϥ????ɤ߹??ޤ??롣
- remove displayname...
- ???ꤷ???ǥ????ץ쥤?ȥޥå?????ǧ?ڥ????ȥ??ǧ?ڥե????뤫???????? ?????롣
- source filename
- ???ꤷ???ե??????ϡ??¹Ԥ??? xauth ???ޥ??ɤ????ĥ??????ץȤȤ? ?ư??????롣?????Ԥȥ??㡼??(#)?ǻϤޤ??Ԥ?̵?뤵???롣 ?ե?????̾??ñ?˥??å????ҤȤĤ???(`-')?Ǥ??????硢ɸ?????Ϥ????? ?ɤ߹??ߺѤߤǤʤ????С??????ȥ??ɸ?????Ϥ????ɤ߹??ޤ??롣
- info
- ǧ?ڥե??????Ҥ??????????ѹ????ʤ????Ƥ??뤫?ɤ?????xauth ?? ?ޥ??ɤ??ɤ߹??߸???ɸ?????Ϥ˽??Ϥ??롣
- exit
- ?ѹ??????ä???????ǧ?ڥե???????(???Ĥ???????)?Ф??졢?ץ????????? ??λ???롣?ե??????ν????ϰ??ۤ? exit ???ޥ??ɤȤ??ư??????롣
- quit
- ?ѹ???̵?뤷?ƥץ???????????λ???롣???????ߥ??????Ƥ?Ʊ?????̤??? ?????롣
- help [string]
- Ϳ????ʸ?????ǻϤޤ뤹?٤ƤΥ??ޥ???(??ά?????Ȥ????????ޥ???)???????? ɸ?????Ϥ?ɽ?????롣
- ?
- ???ѤǤ??륳?ޥ??ɤδ?ñ?ʰ?????ɸ?????Ϥ?ɽ???????롣
?ǥ????ץ쥤̾¶
add, [n]extract, [n]list, [n]merge, remove ???Ѥ????ǥ????ץ쥤̾?Ǥϡ??Ķ??ѿ? DISPLAY ?䶦?̤? -display ???ޥ??ɹ???????Ʊ?????????Ȥ????롣?ǥ????ץ쥤 ??ͭ?ξ???(????????ֹ??ʤ?)??ɬ?ܤǤϤʤ?̵?뤵???롣 Ʊ???ޥ??????Ǥ???³(?????????ۥ??ȥ????åȡ???ͭ?????ꡢIP ?ۥ???̾ ?? localhost?ʤ?)?? hostname/unix:displaynumber ?η????ǻ??Ȥ??????Τǡ??ۤʤ??ޥ??????Ф????????????Υ????ȥ?? ?ҤȤĤ?ǧ?ڥե??????˳?Ǽ???뤳?Ȥ??Ǥ??롣
??¶
xauth ?Τ??äȤ?????Ū?ʻ???ˡ?ϡ????ߤΥǥ????ץ쥤?Υ????ȥ ???????Ф?????????¾?Υޥ????˥??ԡ????ơ????⡼?ȥޥ????Υ桼????ǧ?? ?ե??????˥ޡ??????뤳?ȤǤ???:
% xauth extract - $DISPLAY | rsh otherhost xauth merge -
???Υ??ޥ??ɤϥ????? :0 ????³????MIT-MAGIC-COOKIE-1 ?ץ??ȥ????????? ????ǧ?ڤ????????롣????ǧ?ڤ???³???륯?饤?????ȤϿ??ꤵ???ʤ???
% xauth generate :0 .
?Ķ??ѿ?¶
xauth ?ץ????????ϼ??δĶ??ѿ??????Ѥ???:
- XAUTHORITY
- -f ???ץ??????????Ѥ??Ƥ??ʤ???????ǧ?ڥե???????̾???????롣
- HOME
- XAUTHORITY ???????????Ƥ??ʤ??????˥桼???Υۡ????ǥ??쥯?ȥ??????롣
?ե?????¶
- $HOME/.Xauthority
- XAUTHORITY ???????????Ƥ??ʤ??????Υǥե????Ȥ?ǧ?ڥե????롣
?Х?¶
?????Ǥʤ??ͥåȥ?????ȤäƤ????桼???ϡ??ޥ????֤?ǧ?ڥ????ȥ?? ???ԡ??????ݤˤϰŹ沽???줿?ե?????ž???ε????????տ??????Ѥ????٤??? ???롣 Ʊ?ͤˡ?MIT-MAGIC-COOKIE-1 ?ץ??ȥ????ϰ????Ǥʤ??Ķ??ǤϤ??ޤ? ????Ω???ʤ????????????ƥ???????α?դ??Ƥ??륵???ȤǤϡ? Kerberos ?Τ褦?ʰŹ沽ǧ?ڵ????????Ѥ???ɬ?פ?????????????
???ߡ??ץ??ȥ???̾?Ǥ϶????ѤǤ??ʤ????????ʤҤͤ??줿???ͤ? ???ʤ??Ƥ⡢???????Ȥ??ɲäǤ????Ϥ??Ǥ??뤬??
????¶
Jim Fulton, MIT X Consortium
Release 6.5 | X Version 11 |