I understand that I can change the password for pihole using the [pihole -a -p] command in normal systems or with a raspberry pi. I am running pihole on a Asustor Nas and I am having trouble finding the correct command line to change the password.
Thank you for the quick reply, the nas is using a Docker Engine vers. 20.10.22.r2
and I have tried entering the commands via SSH, ive even tried things like [ cd /volume1/docker/pihole or pihole-docker ] and it still can not find the program via terminal.
I might try posting this on the ASUSTOR forum as well to increase the audience.
Are you running Pi-hole in a docker container? You use the docker environment variables to set things up per the fine documentation at https://github.com/pi-hole/docker-pi-hole
Thank you Dan, yes it is running in a docker container, I have reviewed the github, and from what I can see I would have to create a new container with the included changes, I am trying to just edit the already created environment variables. So far unsuccessfully. If you or anyone else can provide some documentation on how to edit currently running or active containers, it would be greatly appreciated.
So I figured it out if anyone has the same issue in the future, on the Asustor App central, you will need to install Portainer.io to manage the container, and under your local containers list there should be pihole listed, you can enter the console from there and just use the command [ pihole -a -p ] to set a new password. Thank you everyone for trying to help, you lead me down git hub rabbit holes that eventually got me to the answer.