How do I reset my ZNC password from SSH terminal?

To reset your ZNC password from SSH:

[~znc.info] # znc –makepass

[ ** ] Type your new password.
[ ?? ] Enter Password:
[ ?? ] Confirm Password:
[ ** ] Kill ZNC process, if it's running. (znc-kill)
[ ** ] Then replace (nano .znc/configs/znc.conf) password in the <User> section of your config with this:
<Pass password>
        Method = sha256
        Hash = 269dd6188ef05333fa63c2cbbae23b402476b382e51614830217e32cb870f9c6
        Salt = VskeISWUal6ilFU?PgaY
</Pass>
[ ** ] After that start ZNC again, and you should be able to login with the new password.

Leave a Reply

Your email address will not be published. Required fields are marked *