Date: Wed, 7 Jun 2000 10:21:24 +0200 From: Willem Brown <willem@brwn.org> To: Christoph Sold <so@server.i-clue.de> Cc: Corey Wheeler <corey@euriscom.com>, Christoph Sold <so@server.ms-agentur.de>, freebsd-questions@freebsd.org Subject: Re: Password Lengths Message-ID: <20000607102124.A16248@denary.brwn.org> In-Reply-To: <393D9B86.27AEBE99@i-clue.de>; from so@server.i-clue.de on Wed, Jun 07, 2000 at 02:47:02AM %2B0200 References: <393819DD.E333D58B@euriscom.com> <393D8D95.A1877719@i-clue.de> <393D985F.C9D50933@euriscom.com> <393D9B86.27AEBE99@i-clue.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I did this just yesterday. Normally the libcrypt files are linked to the libdescrypt equivalents. The same files exist for md5, libscrypt. Here is what mine looks like now. lrwxr-xr-x 1 root wheel 11 Jun 6 11:53 libcrypt.a -> libscrypt.a lrwxr-xr-x 1 root wheel 12 Jun 6 11:53 libcrypt.so -> libscrypt.so lrwxr-xr-x 1 root wheel 14 Jun 6 11:53 libcrypt.so.2 -> libscrypt.so.2 lrwxr-xr-x 1 root wheel 13 Jun 6 11:54 libcrypt_p.a -> libscrypt_p.a -r--r--r-- 1 root wheel 15724 Jun 6 02:22 libdescrypt.a lrwxrwxrwx 1 root wheel 16 Jun 6 11:43 libdescrypt.so -> libdescrypt.so.2 -r--r--r-- 1 root wheel 11028 Jun 6 02:22 libdescrypt.so.2 -r--r--r-- 1 root wheel 17658 Jun 6 02:22 libdescrypt_p.a -r--r--r-- 1 root wheel 8896 Jun 6 02:22 libscrypt.a lrwxrwxrwx 1 root wheel 14 Jun 6 11:40 libscrypt.so -> libscrypt.so.2 -r--r--r-- 1 root wheel 5808 Jun 6 02:22 libscrypt.so.2 -r--r--r-- 1 root wheel 9542 Jun 6 02:22 libscrypt_p.a To get md5 passwords I just made softlinks to the lybscrypt libs. i.e. cd /usr/lib ln -sf libscrypt.a libcrypt.a ln -sf libscrypt.so libcrypt.so ln -sf libscrypt.so.2 libcrypt.so.2 ln -sf libscrypt_p.a libcrypt_.a This seems to work. I don't know if there is anything more that needs to be done. Except changing your root password BEFORE you log out! HTH Regards Willem Brown On Wed, Jun 07, 2000 at 02:47:02AM +0200, Christoph Sold wrote: > > > Corey Wheeler wrote: > > > Christoph Sold wrote: > > > > > Corey Wheeler wrote: > > > > > > > [snip] I simply want to be able to set password > > > > lengths greater than 8 characters. > > > > > > You probably are using DES encrypted passwords. The DES algorithm takes > > > exactly eight bytes from the beginning of the password and encrypts those. > > > > Is there anyway to switch from DES to MD4(5) passwords easily and without > > breaking anything else? > > Yes. Unfortunately, I cannot remember the exact procedure; IIRC it has to do > something with libscrypt.so and libdescrypt.so. Search the mailing list archives > at http://www.freebsd.org/mail for the answer, as thsi topic has been discussed > before. > > HTH > -Christoph Sold > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > -- /* =============================================================== */ /* Linux, FreeBSD, NetBSD, OpenBSD. The choice is yours. */ /* =============================================================== */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000607102124.A16248>