I am trying to cron a simple 4 line bash script to backup a folder which requires me to mount the NAS folder for which I have to provide the password. Which is a big NO , Is there a way to pass the password in encrypted form or atleast a safe way.
I am trying to mount a NAS folder which requires the password, how to encrypt or make it secure.
sudo rsync -arltvu --progress /media/VAULT/Pictures/ /media/Pictures/ -o username=admin,pass=passphrase