Andy
Administrator
- User ID
- 1
- Joined
- 7 Jan 2019
- Messages
- 220
- Reaction score
- 8
- Points
- 18
Instead of cloning a user, we can also manually edit the ZNC username on the znc.conf:
Firstly you will need to shutdown your ZNC bouncer:
Then run the following command:
Look for:
Type your new username:
Then go to:
And rename the folder from currentusername to newusername
For example:
Back to ~/.local/bin/ and fire up your ZNC with ./znc, and login with the new username.

Modules active were:
<global>: webadmin;
<user>: chansaver, controlpanel;
<network>: simpleaway, buffextras, chansaver, keepnick, kickrejoin, route_replies, sasl.
In this case, should just be global modules that would could contain any info, and I don't think webadmin is one of them that contains such info.
Hopefully this article sort your issue
Firstly you will need to shutdown your ZNC bouncer:
Code:
/msg *status shutdown
Bash:
[email protected]:~$ nano .znc/configs/znc.conf
Code:
<User currentusername>
Code:
<User newusername>
Code:
.znc/users/
For example:
Bash:
[email protected]:~/.znc/users$ mv currentusername newusername -v
‘currentusername’ -> ‘newusername’
Tested on ZNC v1.8.0 and it workedQ: Is giving a new username on znc.conf and then rename the ZNC user folder is enough?
A: Well, depends if you use some modules that only have their data in the global moddata folder instead of per user. (For example the lastseen module)
Modules active were:
<global>: webadmin;
<user>: chansaver, controlpanel;
<network>: simpleaway, buffextras, chansaver, keepnick, kickrejoin, route_replies, sasl.
In this case, should just be global modules that would could contain any info, and I don't think webadmin is one of them that contains such info.
Hopefully this article sort your issue
