How to reset the initialing passwords of DevOps tools (Jenkins, Rancher, Nexus, etc.) or get the bootstrap password manually?

The admin password of our DevOps tools (for example Jenkins, Rancher, etc.) was unlocked or we forgot its admin password. How to set or retrieve the admin password? How to reset it? When we install DevOps tools with Terraform, we got a “local-exec” provisioner error and it didn’t give us the bootstrap password in the output, or the bootstrap pod is not initialized and we don’t get the bootstrap password. How to get the bootstrap password of our DevOps tools (for example Rancher, Nexus repository, etc.)?
In this article, I tried to collect the commands that we will use to reset the login passwords for DevOps programs when we cannot remember. Also, I tried to collect the commands that we will get the bootstrap password manually. I tried them working, I documented it for you.
Now, we will do them step by step again.

Cumhur Akkaya
7 min readJul 18, 2023

--

--

Cumhur Akkaya

✦ Multi-Cloud & DevOps Engineer, ✦Technical Writer, ✦AWS Community Builder, ✦LinkedInTop Voice, ✦Believes in learning by doing, ✦Linkedin: linkedin.com/in/cumh