# Decrypt password file # Just a GPG encrypted file containing the password gpg /usr/local/share/UniMount.gpg PASS=$(cat /usr/local/share/UniMount) # Remove decrypted file rm -f /usr/local/share/UniMount mount -t cifs //ufs01/user01/sgsdoust /mnt/sgsdoust -o sec=ntlm,domain=LIVAD,vers=1.0,username=sgsdoust,password=${PASS},uid=shayandoust