title: securely passing password through bash
body: <p>I am building a bash script for my work to make initial setup and windows-domain join for our Ubuntu machines easy enough for someone who  knows nothing about Linux can do it. I have found a lot of people that say that you shouldn't pass passwords through a script but to be efficient, I have to. The script prompts for info and credentials in the beginning and it needs to be able to be left to do it's job without interaction. I can't have it visible through ps when I pass it and I can't have it stored as an unsecured variable. Any suggestions?</p>