jenkins password reset steps
here are the steps :
Mac os : /Users/your_mac_username_folder/ .jenkins linux : /var/lib/jenkins
find the config.xml file and edit the true to false & save the file
restart your jenkins using brew services stop jenkins-lts for macos || systemctl jenkins restart for ubuntu or linux
now you will see jenkins will disabled the login and will open automatically
manage jenkins >> system security >> choose jenkins own user database on the configure global security page >> apply >> save
now go to people >> check userid (for which password will be reset) >> scroll down choose password and click apply & save