Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
[SOLVED] useradd/groupadd after connection loss and reboot
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] useradd/groupadd after connection loss and reboot (Read 3620 times)
vince
Newbie
Posts: 31
Karma: 4
[SOLVED] useradd/groupadd after connection loss and reboot
«
on:
November 23, 2017, 01:34:34 pm »
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?
«
Last Edit: November 23, 2017, 02:31:58 pm by vince
»
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: useradd/groupadd after connection loss and reboot
«
Reply #1 on:
November 23, 2017, 01:52:09 pm »
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
«
Last Edit: November 23, 2017, 03:19:37 pm by franco
»
Logged
vince
Newbie
Posts: 31
Karma: 4
Re: useradd/groupadd after connection loss and reboot
«
Reply #2 on:
November 23, 2017, 02:31:37 pm »
Hi franco, thanks for clearing that up!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
[SOLVED] useradd/groupadd after connection loss and reboot