/usr/share/doc/HOWTO/ja-html/PPP-HOWTO-16.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 148 149 150 151 152 153 154 155 156 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
<TITLE>Linux PPP HOWTO: PAP/CHAP $B$NG'>Z%U%!%$%k(B</TITLE>
<LINK HREF="PPP-HOWTO-17.html" REL=next>
<LINK HREF="PPP-HOWTO-15.html" REL=previous>
<LINK HREF="PPP-HOWTO.html#toc16" REL=contents>
</HEAD>
<BODY>
<A HREF="PPP-HOWTO-17.html">$B<!$N%Z!<%8(B</A>
<A HREF="PPP-HOWTO-15.html">$BA0$N%Z!<%8(B</A>
<A HREF="PPP-HOWTO.html#toc16">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s16">16.</A> <A HREF="PPP-HOWTO.html#toc16">PAP/CHAP $B$NG'>Z%U%!%$%k(B</A></H2>
<P>pap $B$d(B chap $B$rMQ$$$?G'>ZJ}K!$r;H$&>l9g!"$=$N$?$a$NG'>Z%U%!%$%k(B(secrets
file)$B$,I,MW$G$9!#$=$l$i$O!"(B</P>
<P>
<HR>
<PRE>
/etc/ppp/pap-secrets
/etc/ppp/chap-secrets
</PRE>
<HR>
</P>
<P>$B$G$9!#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2>
<P><CODE>/etc/ppp/pap-secrets</CODE> $B%U%!%$%k$O$3$N$h$&$J7A<0$r$7$F$$$^$9!#(B</P>
<P>
<HR>
<PRE>
# Secrets for authentication using PAP
# client server secret acceptable local IP addresses
</PRE>
<HR>
</P>
<P>4 $B$D$NMs$,%9%Z!<%9%-%c%i%/%?$G6h@Z$i$l$F$$$^$9!#(B</P>
<P>ISP $B$+$iLc$C$?%f!<%6L>$r(B <CODE>fred</CODE>$B!"%Q%9%o!<%I$r(B
<CODE>flintstone</CODE> $B$H$7$^$9!#$=$N>l9g!"(B
<CODE>/etc/ppp/options.ttySx</CODE> $B%U%!%$%k$K(B<CODE>name fred</CODE> $B%*%W%7%g(B
$B%s$r@_Dj$7!"(B<CODE>/etc/ppp/pap-secrets</CODE> $B%U%!%$%k$K$O(B</P>
<P>
<HR>
<PRE>
# Secrets for authentication using PAP
# client server secret acceptable local IP addresses
fred * flintstone
</PRE>
<HR>
</P>
<P>$B$N$h$&$K@_Dj$7$^$9!#(B</P>
<P>$B$3$N@_Dj$O!"%m!<%+%k%^%7%s$NL>A0$r(B <CODE>fred</CODE>$B$K(B($B<B:]$N%m!<%+%k$J%^(B
$B%7%s$NL>A0$H$O0c$C$F$b(B pppd $B$,$=$NL>A0$r;H$$$^$9(B)$B$7$F!"(B<B>$BA4$F$N(B</B>
$B%5!<%P$K@\B3$9$k>l9g$K(B<CODE>flintstone</CODE>$B$H$$$&%Q%9%o!<%I$r;H$&$3$H$K(B
$B$J$j$^$9!#(B</P>
<P>$B$"$i$+$8$a@EE*$J(B IP $B%"%I%l%9$r$b$i$C$F$$$k>l9g0J30!"%m!<%+%k$N(B IP $B%"%I(B
$B%l%9$r;XDj$9$kI,MW$O$J$$$3$H$K8fCm0U$/$@$5$$!#(B</P>
<P>PAP $B$r;H$C$FJ#?t$N%^%7%s$H@\B3$9$k$h$&$J>l9g!"$=$l$>$l$N@\B3@h$4$H$K0[(B
$B$J$k%f!<%6L>$r;H$&$+!"@\B3@h$N%^%7%sL>$rD4$Y$kI,MW$,$"$j$^$9!#$=$7$F(B
<CODE>pap-secrets</CODE> $B%U%!%$%k$KI,MW$J9T$rIU$12C$($F!"@\B3@h$N%^%7%s$4(B
$B$H$K(B<CODE>name</CODE> $B%*%W%7%g%s$r@5$7$/@_Dj$7$^$9!#(B</P>
<H2><A NAME="ss16.2">16.2</A> <A HREF="PPP-HOWTO.html#toc16.2">CHAP $B$NG'>Z%U%!%$%k(B</A>
</H2>
<P>$B8=:_$N%P!<%8%g%s$N(B pppd $B$G$OAj8_G'>ZJ}<0$,I,MW$G$9!#$9$J$o$A!"$"$J$?$N(B
$B%^%7%s$r@\B3@h$KG'>Z$9$k$H(B<B>$BF1;~$K(B</B>$B@\B3@h$N%^%7%s$r$"$J$?$N%^%7(B
$B%s$KG'>Z$5$;$kI,MW$,$"$j$^$9!#(B</P>
<P>$B$"$J$?$N%^%7%s$,(B <CODE>fred</CODE> $B$G%j%b!<%H$N%^%7%s$,(B <CODE>barney</CODE> $B$N(B
$B>l9g!"$"$J$?$N%^%7%s$N(B <CODE>/etc/ppp/options.ttySx</CODE>$B$K$O(B<CODE>name
fred remotename barney</CODE> $B%*%W%7%g%s$r!"%j%b!<%H%^%7%s$N(B
<CODE>/etc/ppp/options.ttySx</CODE> $B%U%!%$%k$K$O(B <CODE>name barney
remotename fred</CODE> $B%*%W%7%g%s$r$=$l$>$l;XDj$7$F$d$kI,MW$,$"$j$^$9!#(B</P>
<P>fred $B$N(B<CODE>/etc/chap-secrets</CODE>$B%U%!%$%k$O$3$N$h$&$K$J$j$^$9!#(B</P>
<P>
<HR>
<PRE>
# Secrets for authentication using CHAP
# client server secret acceptable local IP addresses
fred barney flintstone
</PRE>
<HR>
</P>
<P>$B0lJ}!"(Bbarney $B$N$O$3$&$G$9!#(B</P>
<P>
<HR>
<PRE>
# Secrets for authentication using CHAP
# client server secret acceptable local IP addresses
barney fred flintstone
</PRE>
<HR>
</P>
<HR>
<A HREF="PPP-HOWTO-17.html">$B<!$N%Z!<%8(B</A>
<A HREF="PPP-HOWTO-15.html">$BA0$N%Z!<%8(B</A>
<A HREF="PPP-HOWTO.html#toc16">$BL\<!$X(B</A>
</BODY>
</HTML>
|