/usr/share/doc/HOWTO/ja-html/Path-8.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>PATH HOWTO: ¥Í¥Ã¥È¥ï¡¼¥¯¥µ¡¼¥Ð</TITLE>
<LINK HREF="Path-9.html" REL=next>
<LINK HREF="Path-7.html" REL=previous>
<LINK HREF="Path.html#toc8" REL=contents>
</HEAD>
<BODY>
<A HREF="Path-9.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Path-7.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Path.html#toc8">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s8">8. ¥Í¥Ã¥È¥ï¡¼¥¯¥µ¡¼¥Ð</A></H2>
<P>¤Û¤È¤ó¤É¤Î¥Í¥Ã¥È¥ï¡¼¥¯¥µ¡¼¥Ð¤Ï¤¢¤ë¼ï¤Î¥µ¥Ö¥×¥í¥»¥¹¤ò¼Â¹Ô¤·¤Þ¤»¤ó¡£
¥»¥¥å¥ê¥Æ¥£Åª¤ÊÍýͳ¤«¤é¤½¤ì¤é¤Î¥Ñ¥¹¤ÏºÇ¾®¸Â¤Ë²¡¤µ¤¨¤é¤ì¤Æ¤¤¤Þ¤¹¡£
<P>½ÅÍפÊÎã³°¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¤«¤é¥·¥¹¥Æ¥à¤Ë¥í¥°¥¤¥ó¤Ç¤¤ë¤è¤¦¤Ë¤¹¤ë
¥µ¡¼¥Ó¥¹¤Ë¤Ä¤¤¤Æ¤Ç¤¹¡£¤³¤Î¾Ï¤Ç¤Ï¡¢¤³¤Î¥±¡¼¥¹¤Ë¤ª¤±¤ë´Ä¶¤È¤Ï²¿¤«¤Ë¤Ä¤¤¤Æ
²òÀ⤷¤Æ¤¤¤¤Þ¤¹¡£rsh¤ò»È¤Ã¤Æ¥ê¥â¡¼¥È¥Þ¥·¥ó¤Ç¥³¥Þ¥ó¥É¤¬¼Â¹Ô¤µ¤ì¤ë¤È
ssh¤Ç¼Â¹Ô¤µ¤ì¤ë¤â¤Î¤È¤Ï°ã¤¦¥Ñ¥¹¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤³¤È¤Ê¤É¤ò¸«¤Æ¤¤¤¤Þ¤·¤ç¤¦¡£
ƱÍͤËrlogin¡¢telnet¡¢ssh¤Ç¤Î¥í¥°¥¤¥ó¤Î°ã¤¤¤Ê¤É¤â¸«¤Æ¤¤¤¤Þ¤¹¡£
<P>
<P>
<H2><A NAME="ss8.1">8.1 inetd</A>
</H2>
<P>¤Û¤È¤ó¤É¤Î¥Í¥Ã¥È¥ï¡¼¥¯¥µ¡¼¥Ð¡¼¤Ï"¾ï»þ¥ê¥¯¥¨¥¹¥È¤òÂԤäƤ¤¤ë¥×¥í¥»¥¹
"¤ò»ý¤Ã¤Æ¤¤¤Þ¤»¤ó¡£¤³¤ÎÆ°ºî¤Ï<B>inetd</B>¤È¸Æ¤Ð¤ì¤ëInternet super server¤Ë
°ì³ç¤·¤Æ°ÑǤ(delegated)¤µ¤ì¤Æ¤¤¤Þ¤¹¡£inetd¤ÏÄêµÁ¤µ¤ì¤¿¥Í¥Ã¥È¥ï¡¼¥¯¥Ý¡¼¥È¤ò
Á´¤Æ´Æ»ë¤·¡¢¥ê¥¯¥¨¥¹¥È¤¬¤¢¤Ã¤¿¤È¤¤ËŬÅö¤Ê¥µ¡¼¥Ð¡¼¤ò³«»Ï¤·¤Þ¤¹¡£¤³¤Î¿¶¤ëÉñ¤¤
¤Ï<CODE>/etc/inetd.conf</CODE>¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
<P>inetd¤Ï¥·¥¹¥Æ¥à³«»Ï»þ¤Î¥¹¥¯¥ê¥×¥È¤«¤éµ¯Æ°¤µ¤ì¤Æ¤¤¤Æ¡¢init¥×¥í¥»¥¹¤Î
¥Ñ¥¹¤ò·Ñ¾µ¤·¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥Ñ¥¹¤ò½¤Àµ¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£¤Þ¤¿inetd¤«¤é
³«»Ï¤¹¤ëÁ´¤Æ¤Î¥µ¡¼¥Ð¤Ïinit¥Ñ¥¹¤ò»È¤¤¤Þ¤¹¡£¤½¤Î¤è¤¦¤Ê¥µ¡¼¥Ð¤ÎÎã¤Ï<B>imapd</B>
¤ä<CODE>IMAP post office protocol</CODE>¤Î¥µ¡¼¥Ð¤È¤¤¤Ã¤¿¤â¤Î¤Ç¤¹¡£
<P>inetd¥×¥í¥»¥¹¤Î¤½¤Î¾¤ÎÎã¤Ï<CODE>telnetd, rlogind, talkd, ftp, popd</CODE>
¤½¤·¤Æhttp¥µ¡¼¥Ð¤Ê¤É¤Ç¤¹¡£
<P>¼ÂºÝ¤Î¥µ¡¼¥Ð¡¼¤ò³«»Ï¤¹¤ë¤¿¤á¤ËÊÌ¡¹¤Ëtcpd¥×¥í¥°¥é¥à¤ò»È¤¦¾ì¹ç¡¢inetd¤Î»È¤¤Êý¤Ï
Ê£»¨¤Ç¤¹¡£tcpd¤Ï¼ÂºÝ¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò³«»Ï¤¹¤ëÁ°¤Ë¤½¤Î¥»¥¥å¥ê¥Æ¥£
¤ò¥Á¥§¥Ã¥¯¤¹¤ë¤È¤¤¤¦¥×¥í¥°¥é¥à¤Ç¡¢¥Ñ¥¹¤Ë±Æ¶Á¤ÏÍ¿¤¨¤Þ¤»¤ó(³Îǧ¤·¤Æ¤¤¤Þ¤»¤ó)¡£
<P>
<P>
<H2><A NAME="ss8.2">8.2 rsh</A>
</H2>
<P>rsh¥Ç¡¼¥â¥ó¤Ï<CODE>_PATH_DEFPATH(/usr/include/paths.h)</CODE>¤«¤é¤Î¥Ñ¥¹¤ò
¥»¥Ã¥È¤·¤Þ¤¹¡£¤³¤ì¤ÏÄ̾ï¥æ¡¼¥¶¡¼¤È¤·¤Ælogin¥×¥í¥°¥é¥à¤¬»È¤¦¤Î¤ÈƱ¤¸¥Ñ¥¹¤Ç¤¹¡£
root¤ÏÄ̾ï¥æ¡¼¥¶¡¼¤ÈƱ¤¸¥Ñ¥¹¤òÆÀ¤Þ¤¹¡£
<P>¼ÂºÝ¤Ë¤Ïrshd¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç
<BLOCKQUOTE><CODE>
<PRE>
shell -c command-line
</PRE>
</CODE></BLOCKQUOTE>
<P>¤È¤·¤Þ¤¹¡£
¤Þ¤¿¥·¥§¥ë¤Ï¥í¥°¥¤¥ó¥·¥§¥ë¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£<CODE>/etc/passwd</CODE>¤Ë½ñ¤«¤ì¤Æ
¤¤¤ëÁ´¤Æ¤Î¥·¥§¥ë¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¤ÇÍ¿¤¨¤é¤ì¤ë<CODE>-c</CODE>¥ª¥×¥·¥ç¥ó¤ò¥µ¥Ý¡¼¥È
¤·¤Æ¤¤¤ë¤Û¤¦¤¬Ë¾¤Þ¤·¤¤¤Ç¤¹¡£
<P>
<P>
<H2><A NAME="ss8.3">8.3 rlogin</A>
</H2>
<P>rlogin¤Ï¼ÂºÝ¤Î¥í¥°¥¤¥ó½èÍý¤ò¹Ô¤¦¤¿¤á¤Ëlogin¤ò¼Â¹Ô¤·¤Þ¤¹¡£rlogin¤ò»È¤Ã¤Æ
¥í¥°¥¤¥ó¤¹¤ë¤Èlogin¤ÈƱ¤¸¥Ñ¥¹¤òÆÀ¤Þ¤¹¡£Linux¥³¥ó¥Ô¥å¡¼¥¿¤Ë¥í¥°¥¤¥ó¤¹¤ë¤¿¤á¤Î
¤½¤Î¾¤ÎÊýË¡¤Ç¤Ïlogin¤ò»È¤¤¤Þ¤»¤ó¡£rsh¤È¤Î°ã¤¤¤ËÃí°Õ¤·¤Æ²¼¤µ¤¤¡£
<P>¼ÂºÝ¤Ë»È¤¦login¥³¥Þ¥ó¥É¤Ï
<BLOCKQUOTE><CODE>
<PRE>
login -p -h host-name user-name
</PRE>
</CODE></BLOCKQUOTE>
<P>¤Ç¤¹¡£<CODE>-p</CODE>¥ª¥×¥·¥ç¥ó¤Ï<CODE>HOME, PATH, SHELL, TERM, MAIL, LOGNAME</CODE>
¤È¤¤¤Ã¤¿´Ä¶ÊÑ¿ô°Ê³°¤Î´Ä¶¤òÊݸ¤¹¤ë¥ª¥×¥·¥ç¥ó¤Ç¤¹¡£
<CODE>-h</CODE>¤Ï¥í¥°¥¤¥ó¤¹¤ë¥ê¥â¡¼¥È¥Û¥¹¥È¤Î̾Á°¤ò»ØÄꤹ¤ë¥ª¥×¥·¥ç¥ó¤Ç¤¹¡£
<P>
<P>
<H2><A NAME="ss8.4">8.4 telnet</A>
</H2>
<P>telnet¤Ïrlogin¤Ë»÷¤Æ¤¤¤Þ¤¹¡£telnet¤Ïlogin¥×¥í¥°¥é¥à¤ò»È¤Ã¤Æ¤¤¤Æ
¥³¥Þ¥ó¥É¥é¥¤¥ó¤âƱ¤¸¤è¤¦¤ÊÊýË¡¤Ç¼Â¹Ô¤µ¤ì¤Þ¤¹¡£
<P>
<H2><A NAME="ss8.5">8.5 ssh </A>
</H2>
<P>ssh¤Ï¤½¤ì¼«¿È¤Î¥Ñ¥¹ÀßÄê¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£ssh¤¬¤¢¤ë¥Ç¥£¥ì¥¯¥È¥ê¤òÄɲä·¤¿
¥Ç¥£¥ì¥¯¥È¥ê¤Ç¤¹¡£¤³¤ì¤Ï<CODE>/usr/bin</CODE>¤¬¥Ñ¥¹¤Ë2ÅٽФƤ¯¤ë¤È¤¤¤¦¤³¤È¤ò
°ÕÌ£¤·¤Æ¤¤¤Þ¤¹¡§
<BLOCKQUOTE><CODE>
<PRE>
/usr/local/bin:/usr/bin:/bin:.:/usr/bin
</PRE>
</CODE></BLOCKQUOTE>
<P>¥Ñ¥¹¤Ë¤Ï<CODE>/usr/X11/bin</CODE>¥Ç¥£¥ì¥¯¥È¥ê¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤Þ¤¿ssh¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤Æ
¼Â¹Ô¤µ¤ì¤ë¥·¥§¥ë¤Ïlogin¥·¥§¥ë¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤³¤¦¤·¤Æ
<BLOCKQUOTE><CODE>
<PRE>
ssh remotehost xterm
</PRE>
</CODE></BLOCKQUOTE>
<P>¤Ç¤ÏÁ´¤¯Æ°ºî¤·¤Þ¤»¤ó¡£<CODE>/etc/profile</CODE>¤¢¤ë¤¤¤Ï<CODE>/etc/csh.cshrc</CODE>
¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¤³¤È¤Ï¤³¤ì¤òÊѹ¹¤Ç¤¤Æ¤·¤Þ¤¤¤Þ¤¹¡£¤½¤³¤ÇÀäÂХѥ¹
<CODE>/usr/bin/X11/xterm</CODE>¤ÈÆþÎϤ·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
<P>ssh¤Ï<CODE>/etc/environment</CODE>¥Õ¥¡¥¤¥ë¤«¤¿<CODE>VAR=VALUE</CODE>¥Õ¥©¡¼¥à
¤Î´Ä¶ÊÑ¿ô¤ò¸¡º÷¤·¤Þ¤¹¡£»ÄÇ°¤Ê¤³¤È¤Ë¤³¤ì¤ÏXFree86¤ÇÌäÂê¤òÀ¸¤¸¤Þ¤¹¡£
<P>
<P>
<HR>
<A HREF="Path-9.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Path-7.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Path.html#toc8">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|