how to use authconfig for enable ssh with LDAP auth

Support for security such as Firewalls and securing linux
Post Reply
dubis
Posts: 1
Joined: 2014/11/03 15:25:11

how to use authconfig for enable ssh with LDAP auth

Post by dubis » 2014/11/03 15:32:42

Hi ,

I'm newbies on Centos7. The ssh connection is working for all user which are the /etc/passwd local file. That's meaning I can connect to my server with this kind of users I added
The other users which are present in the LDAP 've got this error in the /var/log/secure file :

Code: Select all

Nov  3 16:58:59 ghost sshd[7853]: pam_sss(sshd:account): Access denied for user user1: 6 (Permission denied)
Nov  3 16:58:59 ghost sshd[7853]: fatal: Access denied for user user1 by PAM account configuration [preauth]
Nov  3 16:59:25 ghost su: pam_unix(su-l:session): session opened for user user1 by system(uid=0)
Nov  3 16:59:28 ghost su: pam_unix(su-l:session): session closed for user user1
The commande "id users1" is working and the "su - users1" is working too.
Note, the homedir are mounted as nfs and the selinux is in permissive mode

What I've to use as option of authconfig.

Thanks for your help

Post Reply

Return to “CentOS 7 - Security Support”