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

self-deleting shell script – Plesk

I've looked around for an answer to this one but couldn't find one. I have written a simple script that does initial server settings and I'd like it to remove/unlink itself from the root directory on completion. I've tried a…

VIEW QUESTION
Back To Top
Search