[SOLVED] useradd/groupadd after connection loss and reboot

Started by vince, November 23, 2017, 01:34:34 PM

Previous topic - Next topic
We had a loss of connection for a few hours today to one site and afterwards (and after a reboot) monitoring reported a changed /etc/passwd and /var/log/userlog shows useradd and groupadd for acme, _flowd, dhcpd, squid, zabbix, root and all admin users happening after said reboot. I tried to find something regarding this topic but couldn't. Is this intended behaviour?

November 23, 2017, 01:52:09 PM #1 Last Edit: November 23, 2017, 03:19:37 PM by franco
Hi vince,

Yes, and you probably have at least zabbix and acme plugins installed...  https://github.com/opnsense/core/blob/master/src/etc/rc.subr.d/recover

We do this to ensure consistency on boot up so the system services will not fail. UFS gave us too many problems with empty files after crashes so that we now write vital files on every boot.

This happened frequently with e.g. dhcpd user missing, breaking DHCP server operation, which wasn't so practical. :)


Cheers,
Franco