Re: smtpctl: need root privileges

2018-09-25 Thread Joel Carnat
nd thought it would run. But I still get: # doas -u _telegraf /usr/sbin/smtpctl show stats smtpctl: need root privileges Is the thread (https://github.com/OpenSMTPD/OpenSMTPD/issues/678) still relevant ? Is the only way to get stats is to use doas to execute as root ? Thanks. Hi, The thr

Re: smtpctl: need root privileges

2018-09-25 Thread Gilles Chehade
would run. > But I still get: > # doas -u _telegraf /usr/sbin/smtpctl show stats > smtpctl: need root privileges > > Is the thread (https://github.com/OpenSMTPD/OpenSMTPD/issues/678) still > relevant ? > Is the only way to get stats is to use doas to execute as root ? &g

Re: smtpctl: need root privileges

2018-09-25 Thread Pete
elegraf" in groups and thought it would run. >> But I still get: >>   # doas -u _telegraf /usr/sbin/smtpctl show stats >>   smtpctl: need root privileges >> >> Is the thread (https://github.com/OpenSMTPD/OpenSMTPD/issues/678) >> still relevant ? >> Is

Re: smtpctl: need root privileges

2018-09-25 Thread Reio Remma
) I want `telegraf` to be allowed to run `/usr/sbin/smtpctl show stats`. I configured "_smtpq:*:103:_telegraf" in groups and thought it would run. But I still get:   # doas -u _telegraf /usr/sbin/smtpctl show stats   smtpctl: need root privileges Is the thread (https://github.com/OpenSMTPD

smtpctl: need root privileges

2018-09-25 Thread Joel Carnat
Hi, (Running OpenBSD 6.3/amd64 with OpenSMTPD 6.0.4) I want `telegraf` to be allowed to run `/usr/sbin/smtpctl show stats`. I configured "_smtpq:*:103:_telegraf" in groups and thought it would run. But I still get: # doas -u _telegraf /usr/sbin/smtpctl show stats smtpctl: