How do I reset my ZNC IRC Bouncer password from Shell or SSH?

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:

  1. Stop ZNC if it is running (ps x, kill the znc pid — restart).
  2. nano ~/.znc/configs/znc.conf and replace the existing <Pass ...> ... </Pass> inside that user with the new block.
  3. 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.

  • 7 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

How to install and configure a ZNC IRC Bouncer

ZNC 1.8.0 is already at /usr/local/bin/znc on KIRE. --makeconf is valid. SSH in. It daemonizes....

How to install and configure a psybnc IRC bouncer

psyBNC still works. SSH in. It daemonizes. Screen/tmux are for irssi/weechat. cd ~ wget...

How do I restart my ZNC IRC bouncer?

SSH in. ZNC daemonizes; you do not keep it in screen. Start znc If you see ZNC is already running...

How do I manually edit my ZNC configuration file (znc.conf)?

Prefer webadmin (or /msg *status / controlpanel) while ZNC is running. Do not edit znc.conf live...

How do I connect to the psyBNC after its installed?

From your IRC client: /server bnc.kire.net:PORT /quote pass YOURPASS PORT is whatever you set in...