Authentification Pam

If it doesn't fit in another category, ask it here.
Post Reply
asiani
Posts: 22
Joined: 2008/01/18 09:04:28

Authentification Pam

Post by asiani » 2008/03/14 08:23:39

Hello,

i changed something to allow ldap authentification, but now i can connect through ssh but not in local console with root,
i think i just change /etc/pam.d/system-auth
can you help me ?

Mar 14 09:13:55 backup login: PAM pam_parse: expecting return value; [...include]
Mar 14 09:13:55 backup login: PAM unable to dlopen(/lib/security/system-auth)
Mar 14 09:13:55 backup login: PAM [dlerror: /lib/security/system-auth: cannot open shared object file: No such file or directory]
Mar 14 09:13:55 backup login: PAM adding faulty module: /lib/security/system-auth
Mar 14 09:13:55 backup login: PAM pam_parse: expecting return value; [...include]
Mar 14 09:13:55 backup last message repeated 2 times
Mar 14 09:13:55 backup login: FAILED LOGIN SESSION FROM (null) FOR root, Module is unknown

#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required /lib/security/$ISA/pam_env.so
auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok
auth sufficient /lib/security/$ISA/pam_ldap.so use_first_pass
auth required /lib/security/$ISA/pam_deny.so

account required /lib/security/$ISA/pam_unix.so
account sufficient /lib/security/$ISA/pam_succeed_if.so uid < 100 quiet
account [default=bad success=ok user_unknown=ignore] /lib/security/$ISA/pam_ldap.so
account required /lib/security/$ISA/pam_permit.so

password requisite /lib/security/$ISA/pam_cracklib.so retry=3
password sufficient /lib/security/$ISA/pam_unix.so nullok use_authtok md5 shadow
password sufficient /lib/security/$ISA/pam_ldap.so use_authtok
password required /lib/security/$ISA/pam_deny.so

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

thanks,
Alain

Post Reply

Return to “CentOS 4 - Miscellaneous Questions”