[EMAIL PROTECTED] wrote:
>
> On Mon, 11 Jun 2001, Philips wrote:
>
> > Phillip Morgan wrote:
> > >
> > > Hi,
> > >
> > > I recently had to reinstall my system due to a hard disk failure. The
> > > reinstall included the installation of perl-5.6.1. Since then I can't
> > > run any perl scripts, as they all result in messages like...
> > >
> > > "The crypt() function is unimplemented due to excessive paranoia. at
> > > /var/neomail//checklogin.pl line 18."
> > >
> > > This appears in the web server log file. (btw the // before checklogin
> > > does appear in the log. it's not a typo)
> > >
> > > I know what this means. But how do I fix it? Any ideas?
> >
> > remove crypt() call from script.
> > Or use so called non-US distributions.
>
> crypt() is in the libcrypt add-on to glibc. depending on your distro,
> this might be a separate package or bundled with glibc, but it is
> infected with US export restrictions although it is readily available
> outside the US. (A distributor in the US may not ship a distro that
> might go overseas if it includes crypt()). glibc without the libcrypt
> add on has a stub for crypt() that just puts that message and fails.
>
> I think. Seems I have had to install the libcrypt add-on before.
>
> Lawson
This is what I have on my old SuSE 6.2 box:
philips@iph:~ $ /sbin/ldconfig -p | grep crypt
libcrypto.so.0 (libc5) => /usr/i486-linux-libc5/lib/libcrypto.so.0
libcrypto.so.0 (libc6) => /usr/lib/libcrypto.so.0
libcrypt.so.1 (libc6) => /lib/libcrypt.so.1
libcrypt.so (libc6) => /usr/lib/libcrypt.so
philips@iph:~ $ rpm -qfv /usr/lib/libcrypt.so
libc-2.1.2-47
philips@iph:~ $ perl -e 'print crypt("hello","world"),"\n"'
woglQSsVNh3SM
philips@iph:~ $
libcript in libc.
Unfortunately (for you - for me fortunately) I'm living in Europe and have
european distro... seems SuSE has no problems at all...
on Debian server:
philips@helen:~$ /sbin/ldconfig -p | grep crypt
libcrypto.so.0.9.6 (libc6) => /usr/lib/libcrypto.so.0.9.6
libcrypto.so.0 (libc6) => /usr/lib/libcrypto.so.0
libcrypt.so.1 (libc6, OS ABI: Linux 2.0.30) => /lib/libcrypt.so.1
libcrypt.so (libc6, OS ABI: Linux 2.0.30) => /usr/lib/libcrypt.so
philips@helen:~$ dpkg -S /usr/lib/libcrypt.so
libc6-dev: /usr/lib/libcrypt.so
philips@helen:~$ perl -e 'print crypt("hello","world"),"\n"'
woglQSsVNh3SM
philips@helen:~$
libcript in libc too.
Debian is nonUS - has no this problem too.
begin:vcard
n:Filiapau;Ihar
tel;pager:+375 (0) 17 2850000#6683
tel;fax:+375 (0) 17 2841537
tel;home:+375 (0) 17 2118441
tel;work:+375 (0) 17 2841371
x-mozilla-html:TRUE
url:www.iph.to
org:Enformatica Ltd.;Linux Developement Department
adr:;;Kalinine str. 19-18;Minsk;BY;220012;Belarus
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Developer
note:(none)
x-mozilla-cpt:;18368
fn:Philips
end:vcard