One Day Sec

How do I change an administrator password in the GoAnywhere MFT database?

To change a password, you need the hashed value. The article provides a Java code snippet that uses `PasswordHashFactory` to generate a hash (e.g., for `Password@123456`). Once you have the hash, run an SQL update on the database: `UPDATE APP.DPA_USER SET USER_PASS='<hash>' WHERE USER_NAME='root';`. This can be done via Derby command line or DBSchema when GoAnywhere is not running, or through a JSP file when the service is active. Refer to the database operations portion for exact commands.
password hashPasswordHashFactoryadministratordatabase update

Browse all Q&A →