From owner-cvs-all Mon Aug 21 19:16: 0 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6F4DD37B424; Mon, 21 Aug 2000 19:15:55 -0700 (PDT) Received: (from green@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA35477; Mon, 21 Aug 2000 19:15:55 -0700 (PDT) (envelope-from green@FreeBSD.org) Message-Id: <200008220215.TAA35477@freefall.freebsd.org> From: Brian Feldman Date: Mon, 21 Aug 2000 19:15:55 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include unistd.h src/lib/libcrypt Makefile crypt.3 crypt.c crypt.h src/lib/libutil Makefile login_cap.c login_cap.h login_cap.3 src/secure/lib/libcrypt Makefile src/usr.bin/passwd local_passwd.c src/usr.sbin/pw Makefile pw_user.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG green 2000/08/21 19:15:54 PDT Modified files: include unistd.h lib/libcrypt Makefile crypt.3 crypt.c crypt.h lib/libutil Makefile login_cap.c login_cap.h login_cap.3 secure/lib/libcrypt Makefile usr.bin/passwd local_passwd.c usr.sbin/pw Makefile pw_user.c Log: Add working and easy crypt(3)-switching. Yes, we need a whole new API for crypt(3) by now. In any case: Add crypt_set_format(3) + documentation to -lcrypt. Add login_setcryptfmt(3) + documentation to -lutil. Support for switching crypt formats in passwd(8). Support for switching crypt formats in pw(8). The simple synopsis is: edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :) Reviewed by: peter Revision Changes Path 1.38 +3 -1 src/include/unistd.h 1.25 +3 -2 src/lib/libcrypt/Makefile 1.9 +44 -9 src/lib/libcrypt/crypt.3 1.15 +52 -9 src/lib/libcrypt/crypt.c 1.5 +1 -2 src/lib/libcrypt/crypt.h 1.34 +6 -2 src/lib/libutil/Makefile 1.19 +14 -1 src/lib/libutil/login_cap.c 1.4 +2 -1 src/lib/libutil/login_cap.h 1.21 +22 -2 src/lib/libutil/login_cap.3 1.28 +2 -1 src/secure/lib/libcrypt/Makefile 1.25 +8 -15 src/usr.bin/passwd/local_passwd.c 1.12 +3 -3 src/usr.sbin/pw/Makefile 1.43 +21 -2 src/usr.sbin/pw/pw_user.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message