FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a server running on FC4.
I did a yum -y install screen, it updated some dependencies and installed sucessfully. after which i rebooted the server and found that i am unable to login into the server via console or ssh.
I am able to see the login prompt for ssh, but all accounts are unable to login (root/normal users).
I tried to login via console also failed.
This server has webmin installed, and i found that i can login into webmin, i used webmin to change the root password and it say successful. however, i tried to login via SSH or console but still failed.
I can remember that glibc and some pam something was updated prior to installing screen.
What happened? What should i do to be able to login via SSH or console again?
Does webmin allow you shell access. If an update effects a configuration, it may add .rpmnew to a new configuration or .old to an old one. For example, a good thing to check for would be for /etc/pam/login and /etc/pam/login.old. If you have both files, use diff to find the difference.
Also, be sure to look in the logs. An authentication failure will be logged, and may indicate exactly why.
It complain that PAM adding faulty module: /lib/security/pam_stack.so
PAM unable to dlopen(/lib/security/pam_stack.so)
PAM [error: /lib/security/pam_stack.so: cannot open shared object file: No such file or directory]
Okay, i managed to sort out the PAM Problem.
What we did is as below and some steps as above reply(moving passwd and shadow file to the orginal place)
on the FC4 server, rpm -qa | grep pam
pam_smb-1.1.7-6
pam_krb5-2.1.15-2
pam-0.99.7.1-5.fc7
pam_passwdqc-0.7.6-1
pam_ccreds-1-6
Okay i remember that the dependency that got installed was pam-0.99.7.1-5.fc7.
Using another server that was on fc7, we compared the diff between authconfig, login and sshd with the one on fc4 server, found out that fc7 server also do not also have the pam_stack.so file as well but was working without any problem.
So we ftp in the authconfig, login and sshd file into the FC4.
Glad you got it working. I don't think FC4 is supported anymore. You may run into problems in the future as well. Upgrading may be something to start thinking about.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.