Nexus custom launch command

broken image

If the admin user does not exist, then issue the following two INSERT commands in the console to insert the admin user with password admin123 and the default roll mapping: Update user SET password='$shiro1$SHA-512$1024$NE+wqQq/TmjZMvfI7ENh/g=$V4yPw8T64UQ6GfJfxYq2hLsVrBY8D1v+bktfOxGdt4b/9BthpWPNUy/CBk6V9iA0nHpzYzJFWO8v/tZFtES8CA=' UPSERT WHERE id='admin' If the admin user does exist, issue this command in the console to update the admin user password to admin123 :

broken image

It should be the path to the 'db/security' directory in your data directory. You may need to adjust the path used in the connect statement depending on the location of your nexus data directory. The following steps explain how to restore the default admin user account and set its password to admin123 : New installations of version 3.17.0 or newer do not have a set default password. Versions before 3.17.0 had the default password of this account set to admin123 by default. Nexus Repository Manager 3 includes a default 'admin' Administrator user account.