security problem, please help

Suddenly I cant login into my redhat 9.0.

I tried login in the console, but I cant even type the password. It gave error after I typed root and pressed enter key.

But I was lucky because I left 2 root sessions open in the console.

I checked /var/log/secure and found this :

Sep 29 01:17:45 redhat9 login: PAM unable to dlopen(/lib/security/$ISA/pam_unix.so)
Sep 29 01:17:45 redhat9 login: PAM [dlerror: liBc.so.6: cannot open shared object file: No such file or directory]
Sep 29 01:17:45 redhat9 login: PAM adding faulty module: /lib/security/$ISA/pam_unix.so

This system was running ok without any problem at all, uptime 58 days.

Anyone know anything about why I got this problem?

I fixed this by copying /lib/libc.so.6 into /lib/liBc.so.6

Honestly, I dont know how to properly fix or investigate the problem. Why in the log said liBc.so.6 ... with capital B

My instinct said that I need to just duplicate libc.so.6 ... and it works.

Maybe known hack ?

I cant search in google for liBc.so.6 ... it will gave you same result with libc.so.6

 

 

 

 

Top