# Password Reset Jenkins Homebrew Installation

**URL:** <https://community.jenkins.io/t/password-reset-jenkins-homebrew-installation/2634>\
**Category:** Ask a question\
**Created:** [June 2, 2022, 5:59pm UTC](https://community.jenkins.io/t/password-reset-jenkins-homebrew-installation/2634 "2022-06-02T17:59:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ginacodesdev](https://avatars.discourse-cdn.com/v4/letter/g/ac8455/32.png) [@ginacodesdev](https://community.jenkins.io/u/ginacodesdev)\
**Post date:** [June 2, 2022, 5:59pm UTC](https://community.jenkins.io/t/password-reset-jenkins-homebrew-installation/2634/1 "2022-06-02T17:59:38Z")

</div>

I can’t seem to figure out how to reset the admin password I setup up when installing Jenkins via homebrew.  
Many instructions that I have stated to checking the /var/lib/jenkins/config.xml file. There is not file by that name via that path. Even when searching applications for Jenkins it is not showing/not present. Jenkins is already installed so I am not sure of next steps to reset my admin password to login in order to complete my pipeline work.

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [June 2, 2022, 7:46pm UTC](https://community.jenkins.io/t/password-reset-jenkins-homebrew-installation/2634/2 "2022-06-02T19:46:56Z")

</div>

config.xml is in $JENKINS\_HOME, by default thats /var/lib/jenkins, but not required to be. I’m guessing homebrew does something different?

that being said, I don’t see anything in [homebrew-core/jenkins.rb at c61546a6f6353541b44bfbbb2a0ebd5f579386d2 · Homebrew/homebrew-core · GitHub](https://github.com/Homebrew/homebrew-core/blob/c61546a6f6353541b44bfbbb2a0ebd5f579386d2/Formula/jenkins.rb) that would change that

---

<div class="post-metadata">

**Author:** ![ginacodesdev](https://avatars.discourse-cdn.com/v4/letter/g/ac8455/32.png) [@ginacodesdev](https://community.jenkins.io/u/ginacodesdev)\
**Post date:** [June 2, 2022, 7:56pm UTC](https://community.jenkins.io/t/password-reset-jenkins-homebrew-installation/2634/3 "2022-06-02T19:56:22Z")

</div>

Thank you for responding. I tried to cd into it and it states it doesn’t exist. Even when navigating into /var/lib/ nothing pertaining to jenkins is inside the folder but a postfix file that I can’t seem to access, even with sudo nothing happened.

I don’t know why there seems to be no sign of jenkins on my laptop but I am able to start the service but can’t get beyond the login screen due to no password.

---

<div class="post-metadata">

**Author:** ![poddingue](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/poddingue/32/985_2.png) [@poddingue](https://community.jenkins.io/u/poddingue)\
**Post date:** [June 3, 2022, 6:13am UTC](https://community.jenkins.io/t/password-reset-jenkins-homebrew-installation/2634/4 "2022-06-03T06:13:42Z")

</div>

Hello @ginacodesdev and welcome to this community 👋  
I know this would be suboptimal, but could you issue a command such as

```auto
find / -name config.xml |grep -i jenkins

```

So that we have a hint about where that config file could lay?

---

<div class="post-metadata">

**Author:** ![ginacodesdev](https://avatars.discourse-cdn.com/v4/letter/g/ac8455/32.png) [@ginacodesdev](https://community.jenkins.io/u/ginacodesdev)\
**Post date:** [June 3, 2022, 4:50pm UTC](https://community.jenkins.io/t/password-reset-jenkins-homebrew-installation/2634/5 "2022-06-03T16:50:19Z")

</div>

Thank you. I was able to locate it. Now begins the task of resetting the password process.  
Thanks so much for your help.

Halkeye (above),  
Thank you as well.

---

<div class="post-metadata">

**Author:** ![poddingue](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/poddingue/32/985_2.png) [@poddingue](https://community.jenkins.io/u/poddingue)\
**Post date:** [June 3, 2022, 5:20pm UTC](https://community.jenkins.io/t/password-reset-jenkins-homebrew-installation/2634/6 "2022-06-03T17:20:06Z")

</div>

Thank you so much for your feedback. 🙏

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [June 3, 2022, 8:37pm UTC](https://community.jenkins.io/t/password-reset-jenkins-homebrew-installation/2634/7 "2022-06-03T20:37:36Z")

</div>

> [@ginacodesdev](#):
>
> I was able to locate it.

Where was it? Might help the next person

I also had a draft I forgot to hit send on, but some OSes store in $HOME/.jenkins, but I was meaning to look up which oses do it and got distracted.
