Vipw
$ doas vipw
There should be a line with znc that looks like this (I check
to make sure znc has the right login class; the '1001' is the
uid, which you may find to be different from this example, but it should not be changed):
znc:*:1001:1001:znc:0:0:znc:/home/znc:/sbin/nologin