In the instance that the admin access has been lost, please follow these steps in order to recreate the Default Admin User.
1. This can be done by utilizing the Access bootstrap.creds:
Create a file called bootstrap.creds under $JFROG_HOME/artifactory/var/etc/access
**NOTE** For Artifactory HA Versions under 7.17.2. If you are running an Artifactory HA Cluster, make sure to do the changes on the primary node. After the last step, perform a rolling restart to the cluster (restart each node, one at a time, starting from the primary node and waiting for the previous node to come up fully before restarting the next).
2. Populate the file with the following content:
<admin user_name>@*=<your new password>
**NOTE** You can also create the file with multiple lines to create multiple Admins
IE, admin1@*=password1
admin2@*=password2
3. Make sure the file has relevant permissions:
$ chmod 600 bootstrap.creds
$ chown artifactory:artifactory bootstrap.creds
OR
$ chmod 600 bootstrap.creds
$ chown 1030:1030 bootstrap.creds
**NOTE** The permissions must be assigned as 600. No other permissions will work.