From owner-freebsd-questions Tue Mar 21 22:13:11 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA22616 for questions-outgoing; Tue, 21 Mar 1995 22:13:11 -0800 Received: from fxwidegw.fujixerox.co.jp (root@fxwidegw.fujixerox.co.jp [129.249.88.2]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id WAA22608 for ; Tue, 21 Mar 1995 22:13:06 -0800 Received: from fxmxgw.fujixerox.co.jp ([129.249.88.3]) by fxwidegw.fujixerox.co.jp (8.6.11+2.5Wb2/3.3Wb-05/06/94-1.9) with ESMTP id PAA08316 for ; Wed, 22 Mar 1995 15:12:50 +0900 Received: from fox.fax.iwa.fujixerox.co.jp ([129.249.196.167]) by fxmxgw.fujixerox.co.jp (8.6.11+2.5Wb2/3.1W-02/17/94-fxmxgw/1.7) with ESMTP id PAA17710 for ; Wed, 22 Mar 1995 15:13:03 +0900 Received: (from jun@localhost) by fox.fax.iwa.fujixerox.co.jp (8.6.9/3.3W-94082612) id PAA03044; Wed, 22 Mar 1995 15:12:52 +0900 Date: Wed, 22 Mar 1995 15:12:52 +0900 From: Junichi Kurokawa Message-Id: <199503220612.PAA03044@fox.fax.iwa.fujixerox.co.jp> To: freebsd-questions@freefall.cdrom.com Subject: how do I use libcrypt.c? [2.0-SNAP] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: questions-owner@FreeBSD.org Precedence: bulk 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.