OPNsense Forum

English Forums => General Discussion => Topic started by: neillans on March 01, 2019, 03:51:45 PM

Title: Cron / Configd - What user?
Post by: neillans on March 01, 2019, 03:51:45 PM
What user do the scheduled jobs, for example those created as in https://forum.opnsense.org/index.php?topic=11798.msg53551, run under?
Title: Re: Cron / Configd - What user?
Post by: franco on March 01, 2019, 03:53:53 PM
configctl is called via cron user nobody and then configd performs these operations as root.


Cheers,
Franco
Title: Re: Cron / Configd - What user?
Post by: neillans on March 01, 2019, 04:02:14 PM
Thanks Franco!

So, just to be doubly sure, the underlying script that is being called will run with root privileges?
Title: Re: Cron / Configd - What user?
Post by: franco on March 01, 2019, 04:25:13 PM
Yes, it has to in order to be able to configure the system. configd was built for privilege separation.


Cheers,
Franco