At the moment the command to change a forgotten password is "sudo pihole -a -p newpassword" which leads to 2 problems.
-
"newpassword" can be seen on commandline while typing (also for people standing behind you while typing, not just you)
-
inexperienced users can't set a password with special characters if they don't know that they need to escape them on bash (example: for setting "P!Hole" as a password you have to type "sudo pihole -a -p P\!Hole")
Preferred solution: handle passwort change command like "passwd" normally does.
Shurely both issues are kind of low priority but if you got some extra free time you could think about it ![]()