Hi,
I am using TACACS+ to login into FreeBSD. I have the server on Windows and that is working correctly. I made the client on FreeBSD using pam_tacplus(8) and it authenticates just fine, but it doesn't login. It's like I sent the username and password to the server, and then the server replies that they're correct and FreeBSD gets it, but then it still doesn't login. It says "login incorrect".
My guess is that "login" service is looking somewhere else for login information and it doesn't find the TACACS+ users.
This is my /etc/pam.d/tacacs:
And this is the /etc/pam.d/login:
I am using TACACS+ to login into FreeBSD. I have the server on Windows and that is working correctly. I made the client on FreeBSD using pam_tacplus(8) and it authenticates just fine, but it doesn't login. It's like I sent the username and password to the server, and then the server replies that they're correct and FreeBSD gets it, but then it still doesn't login. It says "login incorrect".
My guess is that "login" service is looking somewhere else for login information and it doesn't find the TACACS+ users.
This is my /etc/pam.d/tacacs:
Code:
auth sufficient /usr/local/lib/security/pam_tacplus.so debug server=10.0.0.9 secret=juanma
account sufficient /usr/local/lib/security/pam_tacplus.so debug server=10.0.0.9 secret=juanma service=ppp protocol=lcp
account sufficient pam_login_access.so
session sufficient /usr/local/lib/security/pam_tacplus.so debug server=10.0.0.9 secret=juanma service=ppp protocol=lcp
password sufficient pam_passwdqc.so
password sufficient pam_unix.so master use_authtok
Code:
#
# $FreeBSD: release/9.2.0/etc/pam.d/login 170510 2007-06-10 18:57:20Z yar $
#
# PAM configuration for the "login" service
#
# auth
auth sufficient pam_self.so no_warn
auth include system
auth include tacacs
# account
#account requisite pam_securetty.so
#account required pam_nologin.so
account include system
account include tacacs
# session
session include system
session include tacacs
# password
password include system
password include tacacs