I recently installed Fedora 9, and it ran fine up until I broke it earlier today.
When looking over the System > Authentication app from the desktop menu, I clicked the revert button, mistakenly thinking it would merely undo my changes since I'd opened the window.
Then I started experiencing problems logging in via SSH, so I rebooted. I can now no longer log in to any user, not even root. When I try in runlevel 3, it immediately brings me to the login prompt again. In runlevel 5, it brings up the desktop background without icons or bars and just sits there. And in SSH, the session immediately ends.
I can, however, boot directly into single-user mode from grub.
After googling around, I managed to pick out a few files that might offer insight, but I can't tell what to do about it.
This, I think, is what caused the problem, particularly because the errors I see (in the log) on login first show up shortly thereafter: (from /var/log/secure)
Code:
Sep 6 17:36:21 onca login: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Sep 6 17:36:21 onca login: ROOT LOGIN ON tty1
Sep 6 17:37:13 onca userhelper[8347]: pam_timestamp(system-config-services:session): updated timestamp file `/var/run/sudo/root/tty1'
Sep 6 17:37:13 onca userhelper[8350]: running '/usr/sbin/system-config-services ' with root privileges on behalf of 'root'
Sep 6 17:39:00 onca login: pam_unix(login:session): session closed for user root
Sep 6 17:39:37 onca login: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Sep 6 17:39:37 onca login: ROOT LOGIN ON tty1
Sep 6 17:39:54 onca userhelper[9738]: pam_timestamp(system-config-users:session): updated timestamp file `/var/run/sudo/root/tty1'
Sep 6 17:39:54 onca userhelper[9741]: running '/usr/share/system-config-users/system-config-users ' with root privileges on behalf of 'root'
Sep 6 17:42:14 onca userhelper[9778]: pam_timestamp(system-config-authentication:session): updated timestamp file `/var/run/sudo/root/tty1'
Sep 6 17:42:14 onca userhelper[9782]: running '/usr/share/authconfig/authconfig-gtk.py ' with root privileges on behalf of 'root'
Sep 6 17:43:13 onca userhelper[9816]: PAM (system-config-users) illegal module type: so
Sep 6 17:43:13 onca userhelper[9816]: PAM (system-config-users) no control flag supplied
Sep 6 17:43:13 onca userhelper[9816]: PAM (system-config-users) no module name supplied
Sep 6 17:43:13 onca userhelper[9816]: pam_timestamp(system-config-users:session): updated timestamp file `/var/run/sudo/root/tty1'
Sep 6 17:43:13 onca userhelper[9819]: running '/usr/share/system-config-users/system-config-users ' with root privileges on behalf of 'root'
Sep 6 17:43:30 onca su: PAM (su) illegal module type: so
Sep 6 17:43:30 onca su: PAM (su) no control flag supplied
Sep 6 17:43:30 onca su: PAM (su) no module name supplied
Sep 6 17:43:30 onca su: PAM (su) illegal module type: so
Sep 6 17:43:30 onca su: PAM (su) no control flag supplied
Sep 6 17:43:30 onca su: PAM (su) no module name supplied
Sep 6 17:43:30 onca su: PAM (su) illegal module type: so
Sep 6 17:43:30 onca su: PAM (su) no control flag supplied
Sep 6 17:43:30 onca su: PAM (su) no module name supplied
Sep 6 17:43:30 onca su: PAM (su) illegal module type: so
Sep 6 17:43:30 onca su: PAM (su) no control flag supplied
Sep 6 17:43:30 onca su: PAM (su) no module name supplied
Sep 6 17:43:30 onca su: pam_unix(su:session): session opened for user readonly by root(uid=0)
When I try to log in, I get these lines added to /var/log/secure:
Code:
Sep 6 19:31:41 onca login: PAM (login) illegal module type: so
Sep 6 19:31:41 onca login: PAM (login) no control flag supplied
Sep 6 19:31:41 onca login: PAM (login) no module name supplied
Sep 6 19:31:41 onca login: PAM (login) illegal module type: so
Sep 6 19:31:41 onca login: PAM (login) no control flag supplied
Sep 6 19:31:41 onca login: PAM (login) no module name supplied
Sep 6 19:31:41 onca login: PAM (login) illegal module type: so
Sep 6 19:31:41 onca login: PAM (login) no control flag supplied
Sep 6 19:31:41 onca login: PAM (login) no module name supplied
Sep 6 19:31:41 onca login: PAM (login) illegal module type: so
Sep 6 19:31:41 onca login: PAM (login) no control flag supplied
Sep 6 19:31:41 onca login: PAM (login) no module name supplied
Sep 6 19:31:43 onca login: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Sep 6 19:31:43 onca login: Permission denied
And by googling a bit, I came accross this file here, which I suspect to be affected, though I really know almost nothing about it: /etc/pam.d/login
Code:
#%PAM-1.0
auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so
auth include system-auth
account required pam_nologin.so
account include system-auth
password include system-auth
# pam_selinux.so close should be the first session rule
session required pam_selinux.so close
session required pam_loginuid.so
session optional pam_console.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session required pam_selinux.so open
session required pam_namespace.so
session optional pam_keyinit.so force revoke
session include system-auth
session optional pam_ck_connector.so
If anyone could offer any direction on how to reverse this, it would be much appreciated!
I really don't want to have to wipe the system, as it hosts (among other things) a multi-terabyte RAID array.