Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Cron / Configd - What user?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Cron / Configd - What user? (Read 2196 times)
neillans
Newbie
Posts: 10
Karma: 1
Cron / Configd - What user?
«
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?
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: Cron / Configd - What user?
«
Reply #1 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
Logged
neillans
Newbie
Posts: 10
Karma: 1
Re: Cron / Configd - What user?
«
Reply #2 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?
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: Cron / Configd - What user?
«
Reply #3 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
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Cron / Configd - What user?