Install the following modules on the machine prior to installing the Authentication Agent for PAM.
sudo yum install selinux-policy-devel*.noarch policycoreutils-devel*
mkdir /opt/rsa
CLIENT_IP=<IP address of the server on which you are installing the PAM agent>
chown root:root /opt/rsa/sdopts.rec chmod 644 /opt/rsa/sdopts.rec chownr root:root /opt/rsa/sdconf.rec chmod 600 /opt/rsa/sdconf.rec
cp /etc/ssh/sshd_config /etc/ssh/sshd_config.old
UsePam yes PasswordAuthentication no UsePrivilegeSeparation no ChallengeResponseAuthentication yes PublicKeyAuthentication no
tar -xvf <filename>.tar
/<filename>/install_pam.sh
auth required pam_securid.so
/usr/sbin/sshd restart
The following is the output from the install_pam.sh from the point that the EULA is accepted:
Do you accept the License Terms and Conditions stated above? (Accept/Decline) [D]A Enter Directory where sdconf.rec is located [/var/ace]/opt/rsa Please enter the root path for the RSA Authentication Agent for PAM directory [/opt] The RSA Authentication Agent for PAM 7.1 will be installed in the /opt directory. pam/ pam/doc/ pam/doc/auth_agent_PAM_RHEL.pdf pam/doc/auth_agent_PAM_SUSE.pdf pam/bin/ pam/bin/64bit/ pam/bin/64bit/acestatus pam/bin/64bit/acetest pam/bin/64bit/ns_conv_util pam/bin/32bit/ pam/bin/32bit/ns_conv_util pam/bin/32bit/acestatus pam/bin/32bit/acetest pam/lib/ pam/lib/64bit/ pam/lib/64bit/pam_securid.so pam/lib/32bit/ pam/lib/32bit/pam_securid.so ********************************************************************** * Adding label for pam_securid.so * ValueError: File spec /lib64/security//pam_securid.so conflicts with equivalency rule '/lib64 /usr/lib'; Try adding '/usr/lib/security//pam_securid.so' instead * Adding label for /opt/rsa directory * * Creating rsapolicy.pp policy file * Compiling targeted rsapolicy module /usr/bin/checkmodule: loading policy configuration from tmp/rsapolicy.tmp /usr/bin/checkmodule: Module name local is different than the output base filename rsapolicy make: *** [tmp/rsapolicy.mod] Error 1 libsemanage.map_file: Unable to open rsapolicy.pp (No such file or directory). libsemanage.semanage_direct_install_file: Unable to read file rsapolicy.pp (No such file or directory). semodule: Failed on textrel_shlib_t.pp! ********************************************************************** Checking /etc/sd_pam.conf: VAR_ACE does not exist - entry will be appended RSATRACELEVEL does not exist - entry will be appended RSATRACEDEST does not exist - entry will be appended ENABLE_USERS_SUPPORT does not exist - entry will be appended INCL_EXCL_USERS does not exist - entry will be appended LIST_OF_USERS does not exist - entry will be appended PAM_IGNORE_SUPPORT_FOR_USERS does not exist - entry will be appended ENABLE_GROUP_SUPPORT does not exist - entry will be appended INCL_EXCL_GROUPS does not exist - entry will be appended LIST_OF_GROUPS does not exist - entry will be appended PAM_IGNORE_SUPPORT does not exist - entry will be appended AUTH_CHALLENGE_USERNAME_STR does not exist - entry will be appended AUTH_CHALLENGE_RESERVE_REQUEST_STR does not exist - entry will be appended AUTH_CHALLENGE_PASSCODE_STR does not exist - entry will be appended AUTH_CHALLENGE_PASSWORD_STR does not exist - entry will be appended BACKOFF_TIME_FOR_RSA_EXCLUDED_UNIX_USERS does not exist - entry will be appended