Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Can't login with root user after join tacacs #87

Open
davidbornog opened this issue Feb 23, 2017 · 3 comments
Open

Can't login with root user after join tacacs #87

davidbornog opened this issue Feb 23, 2017 · 3 comments

Comments

@davidbornog
Copy link

Hello,

After I join PAM to tacacs, and already create a new user and can login with credential that given from tacacs server, I cant login with root user anymore.

Is there any compatibility problem with redhat 6.4 ?
How can I further troubleshoot this issue ?

Many Thanks
David

@davidbornog
Copy link
Author

This is my configuration:

#%PAM-1.0
auth required pam_sepermit.so
auth include password-auth
auth include tacacs
account required pam_nologin.so
account include password-auth
account include tacacs
password include password-auth
#pam_selinux.so close should be the first session rule
session required pam_selinux.so close
session required pam_loginuid.so
#pam_selinux.so open should only be followed by sessions to be executed in the user context
session required pam_selinux.so open env_params
session required pam_namespace.so
session optional pam_keyinit.so force revoke
session include password-auth
#session include tacacs

everytime I delete
auth include password-auth

tacacs will recognize my PAM but I cant ssh using root account.
Need help.

@pprindeville
Copy link
Collaborator

tacacs will recognize my PAM but I cant ssh using root account.

# grep PermitRootLogin /etc/ssh/sshd_config
PermitRootLogin no
# 

@davidbornog
Copy link
Author

Really helpfull thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants