Web interface with password

I installed Pi-hole 6 on a Thin Client (Debian 11). The software works but the GUI is accessible without a password. I tried to change the password via SSH with the command "pihole setpassword NEWPASSWORD". The shell tells me that the password has changed but I can still access the web interface without logging in.

This command can fail if your password uses some special characters.

Try using single quotes around your password:
pihole setpassword 'NEWPASSWORD'

Does it fix the password?

If not, check if the command returns any error messages and please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:

pihole -d

or if you run your Pi-hole as a Docker container:

docker exec -it <pihole-container-name-or-id> pihole -d

where you substitute <pihole-container-name-or-id> as required.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.