/usr/share/doc/HOWTO/ja-html/Loopback-Encrypted-Filesystem-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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Loopback Encrypted Filesystem HOWTO: $B>\:Y$J<j=g(B</TITLE>
<LINK HREF="Loopback-Encrypted-Filesystem-HOWTO-5.html" REL=next>
<LINK HREF="Loopback-Encrypted-Filesystem-HOWTO-3.html" REL=previous>
<LINK HREF="Loopback-Encrypted-Filesystem-HOWTO.html#toc4" REL=contents>
</HEAD>
<BODY>
<A HREF="Loopback-Encrypted-Filesystem-HOWTO-5.html">$B<!$N%Z!<%8(B</A>
<A HREF="Loopback-Encrypted-Filesystem-HOWTO-3.html">$BA0$N%Z!<%8(B</A>
<A HREF="Loopback-Encrypted-Filesystem-HOWTO.html#toc4">$BL\<!$X(B</A>
<HR>
<H2><A NAME="Details"></A> <A NAME="s4">4. $B>\:Y$J<j=g(B</A></H2>
<P><B>$B%+!<%M%k$X$N%Q%C%AEv$F(B:</B>
<P>$B%Q%C%A$rEv$F$F!$(B`2.2.x' $B%j%j!<%9$+$i%"%C%W%0%l!<%I$7$^$9!%(B
`2.2.x' $B8~$1$K%j%j!<%9$5$l$F$$$k$=$l$>$l$N%Q%C%A$O%P%0=$@5$G$9!%(B
$B?75!G=$O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<HR>
<PRE>
CPU=$(shell uname -m | sed s/I.86/intel/)
LOCALEDIR=/usr/share/locale
HAVE_PAM=no
HAVE_SHADOW=yes
HAVE_PASSWD=yes
REQUIRE_PASSWORD=yes
ONLY_LISTED_SHELLS=yes
HAVE_SYSVINIT=yes
HAVE_SYSVINIT_UTILS=yes
HAVE_GETTY=yes
USE_TTY_GROUP=yes
HAVE_RESET=yes
HAVE_SLN=yes
CC=gcc
</PRE>
<HR>
</CODE></BLOCKQUOTE>
<P>
<P><B>$B$*4+$a(B:</B>
<P>8 $B$D$N%k!<%W%P%C%/%G%P%$%9(B(`dev/loop0' $B$+$i(B `/dev/loop7' $B$^$G(B)$B$N$I$l$r(B
$B;H$C$F$b$h$$$3$H$KCm0U$7$F$/$@$5$$!%$^$?!$%^%&%s%H%]%$%s%H$OL\N)$?(B
$B$J$$%G%#%l%/%H%j$K$7$^$7$g$&!%I.<T$O!$%[!<%`%G%#%l%/%H%j0J2<$K(B
$B%Q!<%_%C%7%g%s(B 700 $B$N%G%#%l%/%H%j$r:n$k$3$H$r$*4+$a$7$^$9!%F1$8$3$H$,(B
$B%G!<%?$rF~$l$k%U%!%$%k$K$b8@$($^$9!%(B
$BI.<T$O(B `/etc' $B%U%)%k%@Fb$K(B `sysfile' $B$d(B `config.data' $B$H$$$C$?%U%!%$%k(B
$BL>$GCV$$$F$$$^$9!%$3$l$OIaDL!$8+F($5$l$^$9!%(B
<P>$BI.<T$O!$(B1 $B%3%^%s%I$G%U%!%$%k%7%9%F%`$N%^%&%s%H$H%"%s%^%&%s%H$r9T$&$?$a(B
$B$N!$$H$F$b4JC1$J(B Perl $B%9%/%j%W%H$r=q$-$^$7$?!%0J2<$NFbMF$N%U%!%$%k$r:n(B
$B$j!$$3$l$r<B9T2DG=$K$7(B(chmod u+x)$B!$%Q%9$,DL$C$?>l=j$KCV$$$F$/$@$5$$!%(B
<P>
<BLOCKQUOTE><CODE>
<HR>
<PRE>
#!/usr/bin/perl -w
#
#minimal utility to setup loopback encryption filesystem
#Copyright 1999 by Ryan T. Rhea
`losetup -e serpent /dev/loop0 /etc/cryptfile`;
`mount /mnt/crypt`;
</PRE>
<HR>
</CODE></BLOCKQUOTE>
<P>$B>e5-$N%9%/%j%W%H$r(B `loop' $B$HL>IU$1$^$9!%(B
$B$3$l$r;H$&$H!$%3%^%s%I0l$D(B(`loop')$B$H%Q%9%o!<%IF~NO$G%^%&%s%H$r9T$($^$9!%(B
<P>
<BLOCKQUOTE><CODE>
<HR>
<PRE>
#!/usr/bin/perl -w
#
#minimal utility to deactivate loopback encryption filesystem
#Copyright 1999 by Ryan T. Rhea
`umount /mount/crypt`;
`losetup -d /dev/loop0`;
</PRE>
<HR>
</CODE></BLOCKQUOTE>
<P>2 $B$DL\$N%9%/%j%W%H$r(B `unloop' $B$HL>IU$1$^$9!%(B`unloop' $B$r<B9T$9$k$H!$$9(B
$B$0$K%U%!%$%k%7%9%F%`$rHs%"%/%F%#%V$K$G$-$^$9!%(B
<P>
<HR>
<A HREF="Loopback-Encrypted-Filesystem-HOWTO-5.html">$B<!$N%Z!<%8(B</A>
<A HREF="Loopback-Encrypted-Filesystem-HOWTO-3.html">$BA0$N%Z!<%8(B</A>
<A HREF="Loopback-Encrypted-Filesystem-HOWTO.html#toc4">$BL\<!$X(B</A>
</BODY>
</HTML>
|