You are not logged in.
Hello, I went into terminal, typed in "sudo pacman -Syu" during the update my system froze when upgrading pam. Now I cant login and get this message:
/bin/login : error while loading share libraries : /lib/libpam.so.0 : file too short
I'm running Arch64
Please help!
Thanks
Offline
you need to install pam package, if you have no /lib/libpam.so.0. Check if you have pam installed:
pacman -Ql | grep /lib/libpam.so.0
Last edited by ahcaliskan (2009-01-30 23:11:55)
Offline
How can I do that if I cant login?
Thanks
Offline
Boot from an arch installer but do not install anything. Mount your archlinux partition, and copy the pam package files to your filesystem. I recommend using arch installer 2009.01(beta3):
http://dev.archlinux.org/~aaron/archiso/
/etc/fstab
Last edited by ahcaliskan (2009-01-31 00:48:25)
Offline
How would I get my details back into the libpam files?
I only get a "login incorrect" error now
Thanks!
Offline
you need to reset the root password. Boot with arch linux installer, and mount your archlinux partition. Edit /etc/shadow and delete the crypted password:
root:[crypted password]:14227::::::
like this:
root::14227::::::
Reboot and retype your root password with passwd command. Now hopefully you'll login as root, and you'll later on change your user password as well.
Last edited by ahcaliskan (2009-01-31 16:24:58)
Offline
Sadly didn't work, I'm still receiving "login incorrect"
Thanks
Offline
Try this method:
Boot as single user by disabling /etc/rc.conf module gdm/kdm or comment /etc/inittab:
#id:5:initdefault:
Edit your /etc/shadow.
Then replacing root's encrypted password with !. The full line will look something like:
root:!:12345::::::
Arch wiki on disabling root:
http://wiki.archlinux.org/index.php/Dis … bling_root
If that doesn't work, check out your /var/log/messages.log and post it here.
Last edited by ahcaliskan (2009-01-31 19:24:04)
Offline