PW tightening

This commit is contained in:
Rodger Castle 2026-05-04 14:59:55 -04:00
parent ba08f4887b
commit 5a84a17e63

View File

@ -68,7 +68,7 @@ read -rsp " Password [auto]: " SFTP_PASS
echo ""
if [[ -z "$SFTP_PASS" ]]; then
SFTP_PASS="$(tr -dc 'A-Za-z0-9!@#%^&*()-_=+' </dev/urandom | head -c 24 || true)"
SFTP_PASS="$(tr -dc 'A-Za-z0-9' </dev/urandom | head -c 24 || true)"
GENERATED_PASS=true
else
GENERATED_PASS=false