Hi Jeremie, Jeremie Courreges-Anglas <j...@wxcvbn.org> wrote: > > 2. Provide the command for changing the login class of the _i2pd user. > > I don't think this is warranted. /etc/rc.d/rc.subr has this code: > > --8<-- > # set default values; duplicated in rcctl(8) > getcap -f /etc/login.conf ${_name} 1>/dev/null 2>&1 && daemon_class=${_name} > || > daemon_class=daemon > -->8-- > > and later > > --8<-- > rcexec="su -l -c ${daemon_class} -s /bin/sh ${daemon_user} -c" > -->8-- > > with ${_name} being the basename of the rc script, in your case "i2pd". > > Disclaimer: I'm no i2pd user and I haven't tested what we have in tree > right now.
Thanks for the enlightenment! I'm not sure how I could test this, since I already used usermod(8), but I think you are very likely correct. I had already wondered why other READMEs - like the ones from net/syncthing or net/go-ipfs - didn't mention usermod(8). Best regards, Richard