Jenkins Password Forgot.
Reset Password....
cd /var/lib/jenkin/
vi config.xml
make it false
reload jenkins
it will by pass and you will be logged in
go to manage jenkins - system security - users can sign up...
reload
create admin user
add admin user or any user you want.....
register and login.... you cannot create it with same name
go to cd /var/lib/jenkins cd users
sudo rm -rf admin*
restart jenkins
now reload the page and you will be able to create an account with same name
now you can rever the changes to enable or disable user sign up.