From 6b440490c6faa0367cdbbd34dea355b1d4254a16 Mon Sep 17 00:00:00 2001 From: Milan Lysonek Date: Tue, 25 May 2021 13:01:19 +0200 Subject: [PATCH] Fix configure_opensc_nss_db remediation --- .../smart_card_login/configure_opensc_nss_db/bash/shared.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/configure_opensc_nss_db/bash/shared.sh b/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/configure_opensc_nss_db/bash/shared.sh index ff943d7de9a9..7d3f2550084a 100644 --- a/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/configure_opensc_nss_db/bash/shared.sh +++ b/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/configure_opensc_nss_db/bash/shared.sh @@ -4,8 +4,9 @@ # complexity = low # disruption = low +yum install -y opensc PKCSSW=$(/usr/bin/pkcs11-switch) -if [ ${PKCSSW} != "opensc" ] ; then - ${PKCSSW} opensc +if [ "${PKCSSW}" != "opensc" ] ; then + /usr/bin/pkcs11-switch opensc fi