Monday, October 9, 2023

How to Recover Artifactory Admin password | Artifactory admin password unlock | Forgotten Artifactory Admin Password | How to Recover Artifactory admin password

Let's say you have forgotten Artifactory admin password. How to reset or retrieve Artifactory admin password? Here below are the steps for resetting Artifactory admin password:

Please follow the steps to recover Artifactory Admin password:

Pre-requisites:

Steps to reset Artifactory Admin password:

1. Login to Artifactory instance. Navigate to below directory:

cd /opt/jfrog/artifactory/var/etc

2. Create a file called bootstrap.creds under access directory

sudo vi access/bootstrap.creds

3.  Add  below entries:

admin@*=Admin@12345

4. Make sure the file has relevant permissions: 

sudo chmod 600 access/bootstrap.creds
sudo chown artifactory:artifactory access/bootstrap.creds

5. Restart Artifactory service (you need to stop the service first and then start again)
sudo systemctl stop artifactory.service
sudo systemctl start artifactory.service

6. Check the status if Artifactory is working fine
sudo systemctl status artifactory.service

7. You can also check the logs

sudo tail -f /var/opt/jfrog/artifactory/log/artifactory-service.log


8. Now login with changed admin credentials


Watch steps in YouTube channel:

No comments:

Post a Comment

How to create Ubuntu 22.0.4 Virtual Machine (VM) in Azure? | Create Ubuntu 22.0.4 VM in Azure | How to connect to Azure VM from your local machine

 How to Create Ubuntu 22.0.4 Virtual Machines(VM) in Azure portal? Creating Virtual Machine is easy and straight forward in Azure Cloud. Let...