[Wylug-help] vicious circular symlinks stop su (and a lot more)

David Pashley wylug-help at davidpashley.com
Thu, 17 Oct 2002 17:43:21 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 17 October 2002 12:54 pm, Andrew Teal wrote:
> Hello, I've had no response to previous messages -- does no-one know where
> I should start?
>
> https://www.redhat.com/mailing-lists/enigma-list/msg17168.html
>
> The critical error is
>
> su: error while loading shared libraries: libpam.so.0: cannot open shared
> object file: Error 40
>
> I've found that /lib/libpam.so.0 is a symbolic link to itself; I can't
> delete it because I can't su to root.
>
> AFAIK RedHat update created it. It also created (in the same directory)
> four versions of libpam.so.0.75 ** and four more self-referencing symlinks:
> libpam.so;3da73808 --> /lib/libpam.so;3da73808
>
> ** (each suffixed ;3da73808 or similar -- the ; stops me doing diff, but
> they're the same size as the original).
>
> Grateful for any pointers as to how to proceed ...
>
Probably the easiest is to boot from a CD rescue disk. I know Debian have a
rescue option in their installer. I'm sure that RH would do a similar thing


- --
David Pashley
david@davidpashley.com
Nihil curo de ista tua stulta superstitione.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9ruipYsCKa6wDNXYRAs+cAJ9yg7XZFHtfsTBpWO4bfqO4ArnxugCgjtFU
IMeuK6q4LHcZ74vfOhq1dQ4=
=siY3
-----END PGP SIGNATURE-----