Override SFTP password policy
Overview
SFTP Gateway v3.0 comes with a default password policy for SFTP users.
You can override this default password policy by adding entries to the application.properties
file.
Problem statement
SFTP Gateway v3.0 comes with a default password policy for SFTP users.
During a migration, you may want to use an existing password that doesn't conform to this default password policy.
Or, you might need to set a different password policy for SFTP users that conforms to your organization's requirements.
Override the default policy
You can override the default password policy for SFTP users.
Edit the file /opt/sftpgw/application.properties
You can add any of the following properties, setting the appropriate value:
password.policy.requireUpper=false
password.policy.requireDigit=false
password.policy.requireSpecial=false
password.policy.minLength=6
password.policy.maxLength=50
To apply your changes, restart the Java service:
sudo service sftpgw-admin-api restart