Is there a way to reset all (or just disable the security settings) from the command line without a user/password as I have managed to completely lock myself out of Jenkins
?
相关问题
- Is shmid returned by shmget() unique across proces
- “Zero out” sensitive String data in Swift
- how to get running process information in java?
- High cost encryption but less cost decryption
- Error building gcc 4.8.3 from source: libstdc++.so
The answer on modifying was correct. Yet, I think it should be mentioned that
/var/lib/jenkins/config.xml
looks something like this if you have activated "Project-based Matrix Authorization Strategy". Deleting/var/lib/jenkins/config.xml
and restarting jenkins also does the trick. I also deleted the users in/var/lib/jenkins/users
to start from scratch.