El Foro

[Script] RSA SecurID

Provide software-based two-factor authentication security tokens to users on mobile smartphones, tablets, and PCs.

Autor Respuestas
cmalmgren Wednesday 2 July 2014 at 2:12
cmalmgrenAnonymous

This installs RSA SecurID which is a two-factor authentication suite typically used to further secure  SSH or VPN access.  The software requires a valid *.sdtid file to be of any use so testing without one might be difficult.

I did not have to do anything special after installing the software.

#!/bin/bash
# Date : (2014-07-01 16-34)
# Last revision : (2014-07-01 16-34)
# Wine version used : 1.7.20
# Distribution used to test : Ubuntu 14.04 LTS
# Author : Clark Malmgren

[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"

TITLE="RSA SecurID"
PREFIX="RSA_SecurID"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "EMC" "http://www.emc.com/security/rsa-securid.htm" "Clark Malmgren" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.20"

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Please select the installation file to run." "RSASecurIDTokenAuto411.msi"
    POL_SetupWindow_wait "Installation in progress." "RSA SecurID Installation"
    POL_Wine start /unix "$APP_ANSWER"
    POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    POL_System_TmpCreate "$PREFIX"

    cd "$POL_System_TmpDir"
    POL_Download "ftp://ftp.rsasecurity.com/pub/agents/RSASecurIDTokenAuto411.msi"
    POL_SetupWindow_wait "Installation in progress." "RSA SecurID Installation"
    POL_Wine start /unix "$POL_System_TmpDir/RSASecurIDTokenAuto411.msi"
    POL_Wine_WaitExit "$TITLE"

    POL_System_TmpDelete
fi

POL_Shortcut "SecurID.exe" "$TITLE"

POL_SetupWindow_Close

exit

Editado por: cmalmgren