Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
How does the web interface work ?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How does the web interface work ? (Read 3608 times)
leszekt
Newbie
Posts: 1
Karma: 0
How does the web interface work ?
«
on:
October 01, 2015, 07:15:47 pm »
Hello,
I'd like to ask what is the logic behind the web interface of OPNsense ? The whole configuration is being performed by it's web interface. There are many commands that need root privileges to be executed, but i don't know how does the web interface do that. Is it using SUDO, the web server is running with root privileges or perhaps a dedicated daemon is listening to commands ?
I'm very curious.
Thanks in advance.
Logged
AdSchellevis
Administrator
Hero Member
Posts: 907
Karma: 184
Re: How does the web interface work ?
«
Reply #1 on:
October 02, 2015, 09:11:42 am »
Hi,
Currently the web interface is running as root, but we are making efforts to migrate away from the need for root at the GUI part.
All new parts, and some of the existing, already use the configd system which provides an easy command structure to a unix domain socket.
For more information on the architecture we're migrating too, see:
https://wiki.opnsense.org/index.php/Develop:Architecture
Regards,
Ad
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
How does the web interface work ?