Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Telegraf user looses its groups every reboot
« previous
next »
Print
Pages: [
1
]
Author
Topic: Telegraf user looses its groups every reboot (Read 1935 times)
andrema2
Jr. Member
Posts: 96
Karma: 3
Telegraf user looses its groups every reboot
«
on:
July 30, 2020, 09:29:01 pm »
Hi,
In order to get the Unbound metrics, I need to add telegraf user to unbound group. Apparentely the user gets recriated during the reboot process and looses its membership from unbound.
How can I add it to unbound group during the boot process ? Where is the startup file I could change to add it ?
Thanks
Logged
andrema2
Jr. Member
Posts: 96
Karma: 3
Re: Telegraf user looses its groups every reboot
«
Reply #1 on:
July 30, 2020, 09:34:58 pm »
Ok, I found and edited /usr/local/opnsense/scripts/OPNsense/Telegraf/setup.sh
adding
/usr/sbin/pw groupmod unbound - m telegraf
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Telegraf user looses its groups every reboot