<p dir="ltr">On 3 Sep 2013 08:10, "Jonas Smedegaard" <<a href="mailto:dr@jones.dk">dr@jones.dk</a>> wrote:<br>
> What I am thinking is a CGI interface run as an isolated user (e.g. via<br>
> uwsgi or apache2-suexec) talking to debconf.</p>
<p dir="ltr">Hi! My thoughts:</p>
<p dir="ltr">1. Presumably debconf needs root privileges, so would you grant that user some limited sudo rights?</p>
<p dir="ltr">2. The UI may also need to restart services, and these can take time. Using a separate daemon (e.g. exmachina) to handle blocking calls allows the web UI to call it asynchronously and show progress info to the user, which is good for usability.</p>

<p dir="ltr">3. I am sceptical that it will be possible to add debconf hooks for every configuration choice needed by the FreedomBox UI.  The debian-edu project handles more complex configuration using cfengine - if they found it necessary, I suspect this project will. (I believe Petter might know more about this than me.)</p>

<p dir="ltr">A web interface for server management is a really interesting problem, and I think it's worth solving properly. I'd be interested to hear what you think.</p>
<p dir="ltr">Kind regards,</p>
<p dir="ltr">Tim<br>
</p>