SSH in. znc --makepass still works on the box ZNC (1.8.0).
znc --makepass
Type the new password twice. It prints a <Pass> block (Method = sha256, Hash, Salt). Then:
- Stop ZNC if it is running (
ps x,killthe znc pid — restart). nano ~/.znc/configs/znc.confand replace the existing<Pass ...> ... </Pass>inside that user with the new block.znc
If znc says it is already running, you did not actually kill it. ps x again.
Webadmin can also set a password if you can still log in. --makepass is the forgot-password path.
Do not paste the hash into IRC. Do not mail it.