Hello, newbie here. I'm just a home user with a NAS and very limited Linux experience. Have installed Pi-hole and am able to login using the default 'pihole' password. I'm using Shell in a Box to try to reset the password via SSH, but I can't get it to work. The response is "Sorry, try again" whether I try something new or 'pihole'.
Any advice on what I may be doing wrong? Do I first need to change the directory to pihole? If so, I haven't been able to locate it.
Try it the original way, but you'll need your admin/superuser password to be able to respond to the password prompt from sudo. You should then see Pi-hole's prompt.
Normally the pihole command doesn't need sudo, but it can depend on the environment in which it's installed. I imagine a NAS environment is more restricted. How did you install this on the NAS, are you using the Docker image?
Yes, I installed it via Asustor's App Central, and there was a notification that Pi-hole requires Docker, which I already had installed. Not sure about imaging—the install was more or less automated—but Pi-hole does work.
I've tried using the admin password as well—this is the interaction for that:
admin@AS1102TL-132E:/volume1/home/admin $ sudo pihole -a -p
Password:
sudo: pihole: command not found
admin@AS1102TL-132E:/volume1/home/admin $
Note that container manipulations are not persistent, e.g. they won't survive a reboot if you haven't mounted any volumes for your container. Even if you did, they may be overwritten by a container's environment variable.