This file is indexed.

/usr/share/doc/HOWTO/ja-html/Path-12.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
<!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-13.html" REL=next>
 <LINK HREF="Path-11.html" REL=previous>
 <LINK HREF="Path.html#toc12" REL=contents>
</HEAD>
<BODY>
<A HREF="Path-13.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Path-11.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Path.html#toc12">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s12">12. ¥»¥­¥å¥ê¥Æ¥£¤Î¹Í»¡</A></H2>

<P>¥Ñ¥¹¤Ë¤Ï½ÅÍפʥ»¥­¥å¥ê¥Æ¥£ÌäÂ꤬¤¢¤ê¤Þ¤¹¡£¥Ñ¥¹ÀßÄê¤Î´Ö°ã¤¤¤ò°­ÍѤ·¤Æ¡¢¥·¥¹¥Æ¥à
¤Ë¥¯¥é¥Ã¥¯(¸¶Ê¸¡§hack)¤¹¤ë¤Î¤Ë¤è¤¯»È¤ï¤ì¤ëÊýË¡¤Ç¤¹¡£¤â¤·¥¯¥é¥Ã¥«¡¼
(¸¶Ê¸¡§hacker)¤¬root¡¢°ìÈ̥桼¥¶¡¼¤Ç¥¯¥é¥Ã¥«¡¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤È¡¢´Êñ¤Ë
¡Ö¥È¥í¥¤¤ÎÌÚÇÏ(Trojan horse)¡×¹¶·â¤¬¤Ê¤µ¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
<P>ÀÎ(?)¤Î¤è¤¯¤¢¤Ã¤¿¥ß¥¹¤Ïroot¤Î¥Ñ¥¹¤Ë<CODE>.</CODE>(¥«¥ì¥ó¥È¥Ñ¥¹)¤òÆþ¤ì¤ë
¤È¤¤¤Ã¤¿¤â¤Î¤Ç¤¹¡£°­°Õ¤Î¤¢¤ë¥Ï¥Ã¥«¡¼(¥¯¥é¥Ã¥«¡¼)¤ÏÈà¤Î¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê
¤Ç¥×¥í¥°¥é¥à<CODE>ls</CODE>¤òºî¤ê¡¢¤â¤·root¤¬
<BLOCKQUOTE><CODE>
<PRE>
# cd ~hacker
# ls
</PRE>
</CODE></BLOCKQUOTE>
<P>¤È¼Â¹Ô¤¹¤ë¤È¥¯¥é¥Ã¥«¡¼¤Îls¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
<P>´ÖÀÜŪ¤Ë¤³¤ì¤Ïroot¤È¤·¤Æ¼Â¹Ô¤µ¤ì¤ë¥×¥í¥°¥é¥àÁ´¤Æ¤ËŬÍѤµ¤ì¤Þ¤¹¡£
½ÅÍפʥǡ¼¥â¥ó¥×¥í¥»¥¹¤Ç¤Ï¾¤Î¥æ¡¼¥¶¡¼¤¬½ñ¤­¹þ¤á¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤Ù¤­¤Ç¤¹¡£
¤¢¤ë¥·¥¹¥Æ¥à¤Ç¤Ï<CODE>/usr/local/bin</CODE>¤Ë¥»¥­¥å¥ê¥Æ¥£Åª¤ËÉÔ½½Ê¬¤Ê
¥×¥í¥°¥é¥à¤Ç¤âÃÖ¤¯¤³¤È¤¬¤Ç¤­¤Þ¤¹ - ¤½¤Î¤¿¤ároot¥æ¡¼¥¶¡¼¤Î¥Ñ¥¹¤«¤é
<CODE>/usr/local/bin</CODE>¤ò½ü³°¤·¤Æ¤ª¤¯¤Ù¤­¤Ç¤¹¡£¤·¤«¤·¤â¤·¤¢¤ë¥Ç¡¼¥â¥ó¤¬
¥Ñ¥¹<CODE>/usr/local/bin/:...</CODE>¤ò»È¤Ã¤¿foo¤ò¼Â¹Ô¤·¤Æ¤¤¤ë¤È¡¢
<B>/bin/foo</B>¤Ç¤Ï¤Ê¤¯<B>/usr/local/bin/foo</B>¤ò¼Â¹Ô¤¹¤ë¤³¤È¤â
²Äǽ¤Ç¤¹¡£¤½¤·¤Æ<B>/usr/local/bin</B>¤Ë½ñ¤­¹þ¤á¤ë¥æ¡¼¥¶¡¼¤Ï¤À¤ì¤Ç¤â
¥·¥¹¥Æ¥à¤ò²õ¤¹¤³¤È¤¬¤Ç¤­¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
<P>¥Ñ¥¹¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î½çÈÖ¤ËÃí°Õ¤òʧ¤¦¤Î¤âÂçÊѽÅÍפǤ¹¡£Î㤨¤Ð¡¢
<CODE>/usr/local/bin</CODE>¤¬<CODE>/bin</CODE>¤ÎÁ°¤Ë¤¢¤ë¤È¥»¥­¥å¥ê¥Æ¥£¥ê¥¹¥¯¤¬
À¸¤¸¤Þ¤¹ - ¤â¤·<CODE>/bin</CODE>¤Î¸å¤Ë<CODE>/usr/local/bin</CODE>¤¬¤¢¤ì¤Ð¡¢
<CODE>/bin/foo</CODE>¥³¥Þ¥ó¥É¤ò<CODE>/usr/local/bin/foo</CODE>¤È¥í¡¼¥«¥ë¤Ë½¤Àµ¤·¤¿
¤â¤Î¤Ç¾å½ñ¤­¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó(¤Ä¤Þ¤ê¤³¤ÎÊý¤¬¥»¥­¥å¥ê¥Æ¥£Åª¤Ë°ÂÁ´¤Ç¤¹)¡£
<P>Linux¤Ç¤Ï¡¢¥Ñ¥¹¤Îɾ²Á¤¬¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¥³¡¼¥ë¥ì¥Ù¥ë(operating 
system call level)¤Ç¹Ô¤ï¤ì¤Æ¤¤¤ë¤³¤È¤ò»×¤¤½Ð¤·¤Æ²¼¤µ¤¤¡£
¼Â¹Ô¥Õ¥¡¥¤¥ë¤Î¥Ñ¥¹¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤ë¤È¤³¤í¤Ê¤é¤É¤³¤Ç¤â¡¢(¾¯¤Ê¤¯¤È¤â)
<CODE>/bin¡¢/usr/bin</CODE>¤«¤é¸¡º÷¤µ¤ì¤ëû¤¤Ì¾Á°(short name)¤¬Í¿¤¨¤é¤ì¤Þ¤¹ - 
¾¤Î¾ì½ê¤Ç¤âƱÍͤǤ¹¡£
<P>
<P>
<HR>
<A HREF="Path-13.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Path-11.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Path.html#toc12">Ìܼ¡¤Ø</A>
</BODY>
</HTML>