This file is indexed.

/usr/share/doc/HOWTO/ja-html/Security-HOWTO-4.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
 <TITLE>Linux Security HOWTO: $B%m!<%+%k$N%;%-%e%j%F%#(B</TITLE>
 <LINK HREF="Security-HOWTO-5.html" REL=next>
 <LINK HREF="Security-HOWTO-3.html" REL=previous>
 <LINK HREF="Security-HOWTO.html#toc4" REL=contents>
</HEAD>
<BODY>
<A HREF="Security-HOWTO-5.html">$B<!$N%Z!<%8(B</A>
<A HREF="Security-HOWTO-3.html">$BA0$N%Z!<%8(B</A>
<A HREF="Security-HOWTO.html#toc4">$BL\<!$X(B</A>
<HR>
<H2><A NAME="local-security"></A> <A NAME="s4">4.</A> <A HREF="Security-HOWTO.html#toc4">$B%m!<%+%k$N%;%-%e%j%F%#(B</A></H2>

<P>$B<!$K%m!<%+%k%f!<%6$N967b$KBP$9$k%7%9%F%`$N%;%-%e%j%F%#$K$D$$$F9M$($^$9(B. 
$B$=$&$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b$"$jF@$^$9(B.
<CODE>sudo</CODE> $B$O8"8B$r;H$o$;$k$?$a$N<jCJ$H9M$($k$Y$-$G$"$j(B,
root $B%f!<%6$r$h$j0BA4$K$9$k$?$a$KCV$-49$($k$b$N$H4|BT$7$F$O$$$1$^$;$s(B. </P>

<HR>
<A HREF="Security-HOWTO-5.html">$B<!$N%Z!<%8(B</A>
<A HREF="Security-HOWTO-3.html">$BA0$N%Z!<%8(B</A>
<A HREF="Security-HOWTO.html#toc4">$BL\<!$X(B</A>
</BODY>
</HTML>