Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

glibc pam trouble: please help!!!!!

Posted on 2003-03-04
2
Medium Priority
?
235 Views
Last Modified: 2013-12-16

hi,

i recently started using Mandrake 9 on my machine. I'm fairly new to Linux -- and I'm in big trouble now! I wanted to install xscreensaver, it needed pam-devel >=0.75. So I got the pam-devel 0.75-30mdk and pam 0.75-30mdk rpms for i586 and used KPackage to install them -- but I unchecked the No dependencies checkbox by mistake and it installed the packages. Now I cant 'su' to root, or do any other login. I get this error if I type 'su' at the command line:

su: /lib/i686/libc.so.6: version `GLIBC_2.3' not found (required by /lib/libpam.so.0)

Is there anything I can do to save my installation?
Please help and reply soon -- I cant log off or shut down until I fix this, or I wont be able to log in again !!
0
Comment
Question by:venkatr_n
2 Comments
 
LVL 1

Accepted Solution

by:
Jaem earned 200 total points
ID: 8065213
The pam*rpm install the libpam library, which does about every identification on linux.
1) Are you still logged as root on some terminal? In that case get your CD, mount it and from the command line do 'rpm -i --force  pam-0.75-25mdk.i586.rpm'. The file should be somewhere in the 'Mandrake/RPMS' or 'i586/Mandrake/RPMS'.
2) If not, you lost total access to your root account, hence you will have to reboot and use some rescue mode.


Now what you want to do in rescue mode, is
1) mount your harddrive partitions under /mnt
2) copy from the cdrom the original pam-0.75-25mdk.i586.rpm file into /mnt/root.
3) "cd /mnt" and "chroot /mnt" (basically tells linux you want / to be /mnt)
4) "cd /root" and  'rpm -i --force  pam-0.75-25mdk.i586.rpm' (install by force if necessary the old pam)


From what I gathered, to get in recues mode, first you have to boot with Mandrake first CD. (From 8.2 Docs) Press F1 to get more advanced options, type "rescue", choose "mount your partitions under /mnt". I think you should get now a command prompt. And go to step 2. Trouble is I never used Mandrake (crashed slackware/SuSE/RH and probably Debian though), so with a little luck, the rescue might easier than this. Don't hesitate to ask for more details.
0
 
LVL 1

Author Comment

by:venkatr_n
ID: 8067798
That worked! Thank you!!
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month15 days, 14 hours left to enroll

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question