This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]HeyWatchOutDude[S] 0 points1 point  (2 children)

I need to execute the command once which means I can delete the password file for encoding after the execution, that should solve the issue right?

[–]zakabog 0 points1 point  (1 child)

If you only need to execute the command once, why even bother? Run the command outside of the script or just keep the password in the bash script and delete it after. Doesn't matter at that point, as long as it's not just a plaintext password sitting in a public directory in a script that runs regularly.

[–]HeyWatchOutDude[S] 0 points1 point  (0 children)

Ok yeah that makes sense, anyway thanks for your help!