www.coachdevops.com/2023/10/h...
Pre-requisites:
Artifactory is up and running on Ubuntu
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
11 окт 2023