?
Solved

glibc pam trouble: please help!!!!!

Posted on 2003-03-04
2
Medium Priority
?
232 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month8 days, 17 hours left to enroll

764 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