LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Howto Kerberos+PAM login? (https://www.linuxquestions.org/questions/linux-security-4/howto-kerberos-pam-login-571987/)

licht 07-24-2007 05:29 PM

Howto Kerberos+PAM login?
 
Want to use kerberos for pam-awared XDM. In /etc/pam.d, xdm uses the following rules:

Quote:

auth required pam_env.so
auth sufficient pam_unix2.so
auth required pam_krb5.so try_first_pass
But it denies any login even though username and password are correct. When the last 2 from above rules switched, it asks for password twice for a valid user. In all cases, the user has the same local system account name and principal name in kerberos. and the two passwords are the same.

What is wrong? What is the correct PAM configuration files for auth, account, password and session.

And is it possible to authenticate a user who only appears in kerberos but NOT in local system? It seems to me pam_krb5.so checks user info with local uid/gid?

Thanks!


All times are GMT -5. The time now is 05:30 PM.