Jenkins PWAuth doesn't work after process restart

Solution 1:

I ran into the same issue with the newer v2.263.4. I was able to resolve it by creating a symlink to pwauth at the default expected location: /usr/local/bin/pwauth. It seems that on restart, Jenkins searches for pwauth in the factory default path instead of the custom user specified path. Seems like a bug.