PW tightening
This commit is contained in:
1 parent
ba08f4887b
commit
5a84a17e63
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user