des of FreeBSD

[ Nob's Home | FreeBSD ]

1996.7.29 ほそかわさん(hosokawa@mt.cs.keio.ac.jp)より、
ftp.hk.super.net を除く全てのサイトは北米にあります。
正式なアメリカ外向けの des の配布サイトは ftp.internat.freebsd.org です。
というご指摘をいただきました。ありがとうございました。

FreeBSD 2.1では北米以外に持ち出しが禁止されている
暗号化に関する部分が削除されています。
これを補うのが"des"のpackageです。

  1. ftp.internat.freebsd.org
    ftp.hk.super.net
    などからdes.aainstall.shをgetする。

    install.shの内容は

    #!/bin/sh
    #
    if [ "`id -u`" != "0" ]; then
            echo "Sorry, this must be done as root."
            exit 1
    fi
    echo "You are about to extract the DES distribution into / - are you SURE"
    echo "you want to do this over your installed system?  If not, hit ^C now!"
    read junk
    cat des.?? | tar --unlink -xpzf - -C /
    cat krb.?? | tar --unlink -xpzf - -C /
    echo -n "Do you want to install the DES sources (y/n)? "
    read ans
    if [ "$ans" = "y" ]; then
            cat sebones.?? | tar --unlink -xpzf - -C /usr/src
            cat ssecure.?? | tar --unlink -xpzf - -C /usr/src
    fi
    exit 0
    
    です。

  2. rootになって、vipwでrootのパスワードを空白にする。

  3. ./install.shを実行する。

  4. ls -l /usr/lib/libcrypt*として
    lrwxr-xr-x  1 bin  bin  13 Apr  3 10:56 /usr/lib/libcrypt.a -> libdescrypt.a
    lrwxr-xr-x  1 bin  bin  18 Apr  3 10:56 /usr/lib/libcrypt.so.2.0 -> libdescrypt.so.2.0
    lrwxr-xr-x  1 bin  bin  15 Apr  3 10:56 /usr/lib/libcrypt_p.a -> libdescrypt_p.a
    
    となっていればよい。

  5. rootのパスワードを設定する。


[ Nob's Home | FreeBSD ]
nob@makioka.y-min.or.jp