I wanted to change passwords for a users that is in all of our htpasswds. Here is a quick bash find script to do that:
for PATH in $(find / -name .htpasswd); do htpasswd -b $PATH username NewPassword; done
I wanted to change passwords for a users that is in all of our htpasswds. Here is a quick bash find script to do that:
for PATH in $(find / -name .htpasswd); do htpasswd -b $PATH username NewPassword; done
Comments are closed.