skip to Main Content

Unable to escape command – Plesk

I am writing a mysqldump bash backup script, but can't get it to escape the password correctly. At the top if have: PLESKPASS=( `cat /etc/psa/.psa.shadow` ) Using 'set -x' I can see this returns: + echo '$AES-128-CBC$ssdvgdfvgRipfbUZcg==$Mi3asdNOTREALddnerpTTzVhYBgKriyBA=' $AES-128-CBC$ssdvgdfvgRipfbUZcg==$Mi3asdNOTREALddnerpTTzVhYBgKriyBA= Which is…

VIEW QUESTION
Back To Top
Search