OPNsense
  • 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 2206 times)

neillans

  • Newbie
  • *
  • Posts: 10
  • Karma: 1
    • View Profile
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: 17707
  • Karma: 1618
    • View Profile
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
    • View Profile
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: 17707
  • Karma: 1618
    • View Profile
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?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2