Thanks for your script!
I changed 'YOUR_MFA_ARN' with my actual ARN, but when I run it the script still ends with "Please specify the MFA_DEVICE_ARN".
I uncommented the part:
if [ MFA_DEVICE_ARN=YOUR_MFA_ARN ]; then
echo "Please specify the MFA_DEVICE_ARN"
exit 1
fi
and then it worked fine. Do I have to put my ARN between some kind of punctuation marks?
I want to use it for the other sys admins.
Hi Mich,
Thanks for your script!
I changed 'YOUR_MFA_ARN' with my actual ARN, but when I run it the script still ends with "Please specify the MFA_DEVICE_ARN".
I uncommented the part:
if [ MFA_DEVICE_ARN=YOUR_MFA_ARN ]; then
echo "Please specify the MFA_DEVICE_ARN"
exit 1
fi
and then it worked fine. Do I have to put my ARN between some kind of punctuation marks?
I want to use it for the other sys admins.
Thanks,
Ronald
You have to put [ MFA_DEVICE_ARN=YOUR_MFA_ARN ] like [ MFA_DEVICE_ARN = YOUR_MFA_ARN ]
spaces between the inputs...