This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: login and passwd problems with glibc (crypt)
On Wed, Aug 23, 2000 at 12:18:47PM -0500, Vincent <Vincent wrote:
> Karsten Hopp writes:
> > I suppose you need the crypt addon for glibc and you'll have to
> > configure it with
> > --enable-add-ons=crypt
> >
> > Karsten
> >
> > Vincent wrote:
> > >
> > > I cannot get login and passwd to work with glibc.
> > >
> > > I am running:
> > > AMD K6 processor
> > > linux-kernel-2.4.0-test4
> > > glibc-2.1.3
> > > configured with
> > > configure --host=i386-pc-linux-gnu --enable-add-ons \
> > > --prefix=/usr \
> > > --disable-sanity-checks
>
> Thanks for replying, but as I mentioned in my posting, I tried both
> with and without the crypt addon. It is linked with libcrypt.
>
> # ldd /usr/bin/passwd
> libshadow.so.0 => /lib/libshadow.so.0 (0x40018000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x4002e000)
> libc.so.6 => /lib/libc.so.6 (0x4005b000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> glibc still generated this library without the crypt addon, apparently
> with md5 encryption. Besides, it would be a problem if the crypt
> addon was required to function because that would prevent
> distributions in the US from distributing pre-compiled glibc packages
> outside the US. Our infinitely wise politicians would not want to
> take a chance on the developers of the encryption code getting a copy
> of their own code back :-).
Vincent, could you try running portmap (if it's not here) ?
just do as root
# /usr/sbin/rpc.portmap
(if it fails try # /usr/sbin/portmap)
it's a weird bug that appeared with the 2.3.99 kernel which could
be the origin of this problem
regards, gael