Skip to content

Commit 320245a

Browse files
committed
fix: start snmpd service as root
1 parent 51ae120 commit 320245a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/middlewared/middlewared/etc_files/rc.conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ def snmp_config(middleware, context):
311311
yield 'snmpd_conffile="/etc/local/snmpd.conf"'
312312
loglevel = middleware.call_sync('snmp.config')['loglevel']
313313
yield f'snmpd_flags="-LS{loglevel}d"'
314+
yield 'snmpd_sugid="NO"'
314315

315316

316317
def staticroute_config(middleware, context):

0 commit comments

Comments
 (0)