summaryrefslogtreecommitdiffstats
path: root/usr/bin/setupslavecard.sh
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-20 20:01:11 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-20 20:01:11 +0000
commit32b6f4c4aeddfdda9343d59fba02ae7fe3e0b24c (patch)
treeede5064d9754d063fecece08d81f8ef1e98cb3ba /usr/bin/setupslavecard.sh
parent125b13c1760df7ad557d0d5462b39c7f092e2f3b (diff)
downloadsmartcardauth-32b6f4c4aeddfdda9343d59fba02ae7fe3e0b24c.tar.gz
smartcardauth-32b6f4c4aeddfdda9343d59fba02ae7fe3e0b24c.zip
Use new smartauthmon C++ program instead of the old bash script for smartcard authentication
This plugs several possible security holes git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/smartcardauth@1254687 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'usr/bin/setupslavecard.sh')
-rwxr-xr-xusr/bin/setupslavecard.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr/bin/setupslavecard.sh b/usr/bin/setupslavecard.sh
index cdf3adf..9e54890 100755
--- a/usr/bin/setupslavecard.sh
+++ b/usr/bin/setupslavecard.sh
@@ -469,10 +469,10 @@ while [[ 1 -eq 1 ]]; do
echo "Securing directories..."
chmod 600 "/boot/initrd.img-$(uname -r)"
chmod -R 600 /etc/smartauth
- if [ -e "/usr/bin/smartauthmon.sh" ]; then
- selection="Enable automatic login for KDE3.5"
+ if [ -e "/etc/smartauth/smartauthmon.key" ]; then
+ selection="Enable automatic login for TDE"
else
- echo "KDE3.5 login disabled; not altering"
+ echo "TDE login disabled; not altering"
fi
else
zenity --error --text "A SmartCard authentication error has occurred."
@@ -494,7 +494,6 @@ while [[ 1 -eq 1 ]]; do
chmod -R 600 /etc/smartauth
chown -R root /etc/smartauth
chmod a+x /usr/bin/smartauth.sh
- chmod a+x /usr/bin/smartauthmon.sh
chmod 600 "/boot/initrd.img-$(uname -r)"
chown root "/boot/initrd.img-$(uname -r)"
exit