Allow service account SSH login without 2FA
I have Windows 2012 AD server and all of the linux computers (CentOS) are joined to AD.
Recently, Quest defender 2FA has been activated, so all the domain users require soft token when SSH to any of CentOS systems. Now, I need to exclude some of the domain service accounts from 2FA when SSH to Centos systems for different services. Here is the current setting [root@Linux]# less /etc/pam_radius_acl.conf sshd:* [root@Linux]# /etc/pam.d/sshd auth required pam_sepermit.so auth requisite pam_defender.so auth requisite pam_defender.so auth substack password-auth auth include postlogin -auth optional pam_reauthorize.so prepare account required pam_nologin.so account include password-auth password include password-auth session required pam_selinux.so close session required pam_loginuid.so 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 postlogin -session optional pam_reauthorize.so prepare [root@Linux]# less /etc/ssh/sshd_config UsePAM yes ChalllengeResponseAuthentication yes Secondly, I want to setup centralize access management meaning apply login policy for all the centos sytems. For example, a user in admin dept, she can login only to Centos systems which belong to admin dept only. She will not able to login to Engineering dept systems using her domain credentials. Can configure GPO on Windows AD server and push down to all the linux systems? My CentOS version is 7.4 Thanks much. |
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
Your original thread was posted in Linux Newbie, however it appeared to be more appropriate for the Linux Server forum and was moved there. Here is that thread: AD service account SSH to Centos without 2FA Meanwhile there have yet to be any replies to that one. Please be patient, some questions are very involved. It is being seen, however no members may as yet have any advice for you. If it remains on the zero reply list (And to keep it there do not reply to that thread) it will continue to be visible to all members as a question not yet offered a solution. If you have new information about your problem, of course, please update that thread. That will also bump the thread. But as seen below, please do not bump threads with no real new information. Zero reply threads automatically get bumped over time, and they will also remain on the zero reply list. From the LQ Rules (Please consider these tips, they just happen to be shown in that list): Quote:
|
All times are GMT -5. The time now is 07:31 AM. |