LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Error in service module during login (https://www.linuxquestions.org/questions/linux-general-1/error-in-service-module-during-login-134237/)

twantrd 01-13-2004 02:02 AM

Error in service module during login
 
Hi there,

All of a sudden one my boxes does not allow correct logins. When I try to login my username/password it states: "Error in service module". I have tried booting in single user mode and changed the password for both root and my account but that doesn't work. After doing some googling, it seems that my pam module could be the problem. Anyone have an idea on how to fix this? thanks!

This is on a redhat 7.2 distro.

-twantrd

unSpawn 01-13-2004 06:42 AM

All of a sudden one my boxes does not allow correct logins.
Did you make any changes, installed or removed SW or configs? Did you check the system state by verifying it with the rpm databases contents (rpm -Va)? Could you post the contents of the /etc/pam.d/login and system-auth and actual error message?

twantrd 01-13-2004 05:41 PM

Hi Unspawn,

Thanks for the reply. I forgot to mention that the only thing I did was put the NIC into a different PCI slot. That's all. There were only 2 pci slots on the board and 1 of them got bad for no reason that I could find. So I moved the NIC to the other PCI slot and the machine booted up just fine (Redhat Interface said everything was [OK]). Wouldn't that be ok? Below is the information you requested.

----/etc/pam.d/login----

auth required /lib/security/pam_security.so
auth required /lib/security/pam_stack.so service=system-auth
auth required /lib/security/pam_security.so
auth required /lib/security/pam_security.s
auth required /lib/security/pam_security.so
account required /lib/security/pam_stack.so service=system-auth
password required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth
session optional /lib/security/pam_console.so

----system-auth-----
auth required /lib/security/pam_env.so
auth sufficient /lib/security/pam_unix.so likeauth nullok
auth sufficient /lib/security/pam_ldap.so use_first_pass
auth required /lib/security/pam_deny.so

account required /lib/security/pam_unix.so
account required /lib/security/pam_ldap.so

password required /lib/security/pam_cracklib.so retry=3 type=
password sufficient /lib/security/pam_unix.so nullok use_authtok md5 shadow

password sufficient /lib/security/pam_ldap.so use_authtok
password required /lib/security/pam_deny.so

session required /lib/security/pam_limits.so
session required /lib/security/pam_unix.so
session optional /lib/security/pam_ldap.so

As for doing 'rpm -Va' I get a lot of:
'.....T'
Any symbols that I should recognize as being critical or problematic? Thanks very much!

-twantrd


All times are GMT -5. The time now is 04:49 PM.