Scroll to navigation

SESSREG(1) General Commands Manual SESSREG(1)

̾??

sessreg - ?? init ???饤?????Ȥ??Ф??? utmp/wtmp ?????ȥ??δ???

????

sessreg [-w wtmp-file] [-u utmp-file] [-l line-name] [-h host-name] [-s slot-number] [-x Xservers-file] [-t ttys-file] [-a] [-d] user-name

????

sessreg ?? xdm ???å????????Ф??? utmp/wtmp ?????ȥ??????????? ??ñ?ʥץ????????Ǥ??롣

System V ?? BSD ???????ɤ? /etc/utmp ?ؤΥ??󥿥ե??????????äƤ??롣 ?Ĥޤꡢ/etc/ttys ?ˤ????????֤Ǽ??????????????֤˽񤭹????ΤǤϤʤ????ե?????????ưŪ?˥????ȥ??????????Ƥ롣

BSD ?????? utmp ?ե??????????????뤿???ˡ?sessreg ??2?Ĥ???ˡ?? ?Ȥ???xdm ???Ȥ??????ˤϡ?-x ???ץ??????????ꤹ???? /etc/ttys ?ιԿ??? ???????졢?ǥ????ץ쥤?????ꤹ?? Xservers ?ե????????ιԿ????????˲ä? ?????롣?ǥ????ץ쥤̾?? -l ???ץ????????ȤäơֹԤ?̾???פȤ??ƻ??ꤷ ?ʤ????Фʤ??ʤ????????¤ϡ????Υ????ȥ꤬?񤭹??ޤ??? /etc/utmp ?? ???????֥????å??ֹ??פȤ????Ѥ??????롣????????Ū?ʾ????ˤϡ?-s ???? ???????ǥ????å??ֹ???ľ?ܻ??ꤹ?롣???̤Ǥʤ????餫????ͳ?ˤ??ꡢ???? ?ƥब init ?????????뤿???? /etc/ttys ?ʳ??Υե????????ȤäƤ??????硢 -t ???ץ????????Ȥ??? sessreg ???̤ξ?????Ĵ?٤?ü?????å??????? ???????褦?ؼ????뤳?Ȥ??Ǥ??롣

??????System V ?δ????ԤϤ??????Υ??ץ?????(-x, -s, -t)???Ȥ?ɬ?פ??? ??̵?????ץ????????????????䤹?????뤿?ᡢsessreg ?? System V ?? ?????Ƥ?BSD ??ͭ?Υ??ץ????????????դ??뤬????????ñ??̵?뤵???롣

BSD ?? Linux ?⡢System V ???????ʤ??ۥ???̾?ե??????ɤ? utmp ?ե??????˻??äƤ? ?롣???Υ??ץ??????? System V ?Ǥ? sessreg ?Ǥ?̵?뤵???롣

??????ˡ

Xstartup ?ˤ????Ƥϡ????Τ褦?ʸƤӽФ??򤹤?:


sessreg -a -l $DISPLAY -x /usr/X11R6/lib/xdm/Xservers $USER

Xreset ?ˤ????Ƥϡ????Τ褦?ʸƤӽФ??򤹤?:


sessreg -d -l $DISPLAY -x /usr/X11R6/lib/xdm/Xservers $USER

???ץ?????

BSD ?ξ????? /usr/adm/wtmp ?? System V ?ξ????? /etc/wtmp ?ǤϤʤ????? ?? wtmp ?ե??????????ꤹ?롣???̤?̾?? "none" ?????ꤹ???ȡ? /usr/adm/wtmp ?ؤΥ쥳???ɽ񤭹??ߤ?̵???ˤʤ롣
"/etc/utmp" ?ǤϤʤ????̤? utmp ?ե??????????ꤹ?롣???̤?̾?? "none" ?????ꤹ???ȡ?/etc/utmp ?ؤΥ쥳???ɽ񤭹??ߤ?̵???ˤʤ롣
?????ȥ??? "??" ??̾???򵭽Ҥ??롣ü?????å????????Ф??Ƥϡ???????ü ???ΥǥХ????ե?????̾?κǸ??Υѥ?̾???ǤǤ???(?㤨?? tty0)??X ?Υ??? ?????????Ф??Ƥϡ??????餯?桼?????å???????Ϳ?????줿?????????ǥ????? ?쥤̾?Ȥʤ?(?㤨?? :0)??"none" ?????ꤵ?줿???硢ü??̾?? ttyname(3) ?η??̤????Ǹ??????Ǥ??????Ф??????ΤȤʤ롣
?????? BSD ?Υۥ??Ȥ??Ф??ƥ??åȤ??졢???å????󤬥??⡼?ȥۥ??Ȥ??? ??ư???줿???Ȥ򼨤??????̤? xdm ???ȤäƤ????????ˤϡ????Υ??ץ????? ?ϻȤ????ʤ???
BSD ?????ƥ??ˤ????Ƥϡ?ȯ????????ǽ???????륻?å??????ϰ??դ˷??ޤ륹 ???å??ֹ??????äƤ??롣???ΤۤȤ??ɤ? /etc/ttys ?ե??????? line-name ?ΰ??֤Ǽ??̤????롣 ???Υ??ץ??????? ttyslot(3) ?Ƿ??ޤ??ǥե????Ȥΰ??֤????񤭤??롣 xmd ???ȤäƤ????Ȥ??ˤϤ??Υ??ץ???????Ŭ?ڤǤϤʤ???-x ???ץ??????? ?????????Ǥ??롣
X ???å??????ϥǥ????ץ쥤???Ȥ?1?ĤǤ??ꡢ?ƥǥ????ץ쥤?Ϥ??Υե??? ???????äƤ??롣???Υ??ץ??????Ϥ????????Ѥ??ơ?ttys-file ?ιԿ? ?ȡ????Υե??????? line-name ?????Ĥ??ä??????ǥå??????ä????? ?̤? slot-number ?˥??åȤ??롣
???Υ??ץ??????ϡ??ۥ??Ⱦ???ü?????å??????ο???-x ???ץ??????? ?????뤿???˻Ȥ??̤Υե??????????ꤹ?롣
???Υ??å??????? utmp/wtmp ???ɲä??롣
???Υ??å??????? utmp/wtmp ???????????롣-a/-d ?Τɤ??餫?????ꤷ?ʤ? ???Фʤ??ʤ???

??Ϣ????

xdm(1)

????

Keith Packard, MIT X Consortium

Release 6.5 X Version 11