1

i download jenkins.war and put in $TOMCAT_HOME/web-app/jenkins.war i set settings using tutorial vogella but I forgot my password, where I can find a file from password?

Bohdan Olehovich
  • 575
  • 2
  • 13
  • 26

2 Answers2

4

if it is windows just go to

C:\Users\yourusername.jenkins\secrets

and you will find initialAdminPassword file just use that as a password

Shankar G
  • 41
  • 1
  • I am using windows and the password from "initialAdminPassword" worked for me. But how do I change the password of "admin" user. Simply changing content of the above file does not work, and it still uses the old password even after I restart the tomcat. Probably I need to do some more steps. Can anybody help? – Chinmay Apr 12 '19 at 16:12
3

For Ubuntu you need go to folder home/[user name]/.jenkins and your password is this folder.

  • 1
    `ls -a` or `Ctrl+H`, if you install jenkins from terminal your home page locale on `/var/lib/jenkins` –  Oct 05 '15 at 13:55