While updating my gentoo linux box, I managed to mess up PAM. Now I can't login!
Here's the message I get
login: <I type my name, enter> /bin/login: error while loading shared libraries: libpam_misc.so.0: cannot open shared object file: No such file or directory login: <repeat>
I think I need to boot in single user mode but how do I do that?
Don't worry about PAM--I'll figure that out once I can get some control of the system. If I need to use a live cd, I'll have to wait until tomorrow as I don't have any handy.
Update: I tried adding to grub's kernel line
and that helped. Now I get dumped to a shell pretty much right away. The problem now is that my keyboard doesn't work! It's USB...
Update: Adding these to the kernel line also don't work:
init=/bin/bash real_init=/bin/bash (no keyboard) init=/bin/bb real_init=/bin/bb (kernel panic) single (no change--original problem persists)