First, the problem description
Login to Linux system Discovery console cannot log on , even if you enter the correct user name and password, you can not log in, enter to see an error "module is Unknow".
However,SSH can log on normally .
Ii. Solutions
SSH login, then comment out
Session required/lib/security/pam_limits.so
Switch
Session Required Pam_limits.so
[[email protected] PAM.D]#Cat Login#%pam-1.0Auth [user_unknown=ignore Success=ok ignore=ignore default=Bad ] Pam_securetty.soauth include system-Authaccount required pam_nologin.soaccount include system-Authpassword include system-Auth#pam_selinux.so Close should be the first session rulesession required pam_selinux.so closesession required Pam_loginuid.sosession optional pam_console . so#pam_selinux.so Open should only is followed by sessions to being executed in the user contextsession required pam_selinux.so opensession required Pam_namespace.sosession optional Pam_keyinit . So force revokesession include system-Auth-Session Optional Pam_ck_connector.so#Session required/lib/security/pam_limits.soSession Required Pam_limits.so
Then reboot, log in, Normal.
Linux login appears modle is Unknow