Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 1995 15:12:52 +0900
From:      Junichi Kurokawa <jun@fox.fax.iwa.fujixerox.co.jp>
To:        freebsd-questions@freefall.cdrom.com
Subject:   how do I use libcrypt.c? [2.0-SNAP]
Message-ID:  <199503220612.PAA03044@fox.fax.iwa.fujixerox.co.jp>

next in thread | raw e-mail | index | archive | help
Subscribers,

I've been trying to figure out what to do with the "kosher" libcrypt.c
and associated programs on FreeBSD-2.0-950210.

Buttom line is, 

    "What happens if I replace /usr/lib/libcrypt.{so,a,_p.a} only?"

# you'd have to empty root's password before an attempt!

I ldd(1)'d all the commands and daemons, and somehow got an impression
that it would *almost* suffice.

Any suggestions?

We used to have des_tgz.a? for older FreeBSD-1.1.5.1.  Not all of the
following commands are password related; or even init(8) isn't libcrypt
dependent at all, last I checked the source.

    % cat des_tgz.a? | tar tvfz -
    drwxr-xr-x root/wheel        0 Jul 11 18:56 1994 ./
    drwxr-xr-x root/wheel        0 Jul 11 18:58 1994 bin/
    -r-xr-xr-x bin/bin      110592 Jul 11 18:58 1994 bin/ed
    -r-xr-xr-x bin/bin           0 Jul 11 18:58 1994 bin/red link to bin/ed
    -r-sr-xr-x root/bin     139264 Jul 11 18:58 1994 bin/rcp
    drwxr-xr-x root/wheel        0 Jul 11 19:01 1994 sbin/
    -r-x------ bin/bin      126976 Jul 11 19:01 1994 sbin/init
    drwxr-xr-x root/wheel        0 Jul 11 18:56 1994 usr/
    drwxr-xr-x root/wheel        0 Jul 11 19:04 1994 usr/bin/
    -r-xr-xr-x bin/bin       16384 Jul 11 19:01 1994 usr/bin/bdes
    -r-sr-xr-x root/bin      12288 Jul 11 19:01 1994 usr/bin/lock
    -r-sr-xr-x root/bin      20480 Jul 11 19:02 1994 usr/bin/login
    -r-sr-xr-x root/bin      20480 Jul 11 19:02 1994 usr/bin/passwd
    -r-sr-xr-x root/bin      16384 Jul 11 19:02 1994 usr/bin/rlogin
    -r-sr-xr-x root/bin      12288 Jul 11 19:03 1994 usr/bin/rsh
    -r-sr-xr-x root/bin      12288 Jul 11 19:03 1994 usr/bin/su
    -r-xr-xr-x bin/bin       65536 Jul 11 19:04 1994 usr/bin/telnet
    drwxr-xr-x root/wheel        0 Jul 11 18:57 1994 usr/lib/
    -r--r--r-- bin/bin        6526 Jul 11 18:57 1994 usr/lib/libcrypt.a
    -r--r--r-- bin/bin        7798 Jul 11 18:57 1994 usr/lib/libcrypt_p.a
    -r--r--r-- bin/bin       13717 Jul 11 18:57 1994 usr/lib/libcrypt.so.1.1
    drwxr-xr-x root/wheel        0 Jul 11 19:01 1994 usr/libexec/
    -r-xr-xr-x bin/bin       45056 Jul 11 18:59 1994 usr/libexec/ftpd
    -r-xr-xr-x bin/bin        8192 Jul 11 18:59 1994 usr/libexec/makekey
    -r-xr-xr-x bin/bin       12288 Jul 11 18:59 1994 usr/libexec/rexecd
    -r-xr-xr-x bin/bin       16384 Jul 11 19:00 1994 usr/libexec/rlogind
    -r-xr-xr-x bin/bin       16384 Jul 11 19:00 1994 usr/libexec/rshd
    -r-xr-xr-x bin/bin       36864 Jul 11 19:01 1994 usr/libexec/telnetd
    -r-xr-xr-x bin/bin       12288 Jul 11 19:01 1994 usr/libexec/uucpd

-- 
Junichi Kurokawa
Enterprise Networking Development Division
Fuji Xerox Co., Ltd.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503220612.PAA03044>