Tagged Questions
3
votes
2answers
135 views
Automate Password Set And Verify
I'm using this to set passwords in a script:
usermod -p `mkpasswd -H md5 passwordText` user
I need to create an exception in my script, just in case this command fails. What file contains the ...
8
votes
2answers
561 views
What is the least insecure way to store a password that is used by a script?
I have a Bash script that automatically authenticates with a service using my username and password. The credentials are currently stored as plain text within the script.
What precautions should I ...