ADD: Password file mode

main
Kamal Curi 1 year ago
parent 5584db1db1
commit 90f6e7b9f3

@ -90,6 +90,7 @@ then
fi fi
echo Setting up password file echo Setting up password file
echo service,user,pswd > $HOME/.pasfile.csv &> /dev/null echo service,user,pswd > $HOME/.pasfile.csv &> /dev/null
chmod 600 $HOME/.pasfile.csv
echo Loading GPG to encrypt the file for the first time. echo Loading GPG to encrypt the file for the first time.
echo =========================================================== echo ===========================================================

@ -49,6 +49,7 @@ then
echo UNENCRYPTED FILE IN $HOME/.pasfile.csv echo UNENCRYPTED FILE IN $HOME/.pasfile.csv
echo PRESS ENTER TO QUIT echo PRESS ENTER TO QUIT
read read
chmod 600 $HOME/.pasfile.csv
exit 1 exit 1
fi fi
rm $HOME/.pasfile.csv rm $HOME/.pasfile.csv

Loading…
Cancel
Save