<br><div class="gmail_quote">Le 20 octobre 2010 14:58, Charles Lepple<span dir="ltr"></span> a écrit :<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Oct 20, 2010, at 8:39 AM, Arnaud Quette wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
- or we could have a more native windows approach, by having the conf stored in the registry. Though this needs to change the *conf implementation.<br>
<br>
In both cases, I don't know if there is a better solution for addressing at the same time the security side of the config ...<br>
</blockquote>
<br></div>
Both NTFS and the registry support user- and group-based security. I intentionally did not suggest the registry because it would make our documentation even harder for new users to understand.<br></blockquote><div><br>that's probably where the configuration tools / UI (both graphical and CLI) will provide the solution.<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Also, wouldn't it be better for Augeas support if we stick to one configuration file type?<br>
</blockquote></div><br>well, Augeas main point is to solve the heterogeneity of /etc contents, and provide generic ways to manage these contents.<br>the problem is different on windows, and I'm not sure that considering windows as another Unix is the right solution in the long run. Even more if we map the config pieces on the registry scheme.<br>
<br>Consider the following driver entry:<br>- current format (ups.conf):<br>[device]<br> driver = mydriver<br> port = myport<br><br>- access through Augeas<br> * access the driver name (get / set): /files/etc/nut/ups.conf/mydriver/driver<br>
* access the port name (get / set): /files/etc/nut/ups.conf/mydriver/port<br>
<br>- access in the registry (exact details may be wrong!)<br>
* access the driver name (get / set): HKEY_LOCAL_MACHINE\\SOFTWARE\\NUT\\ups.conf\\mydriver\\driver<br>
* access the port name (get / set): HKEY_LOCAL_MACHINE\\SOFTWARE\\NUT\\ups.conf\\mydriver\\port<br>
<br>You get the "configuration mapping" idea.<br><br>so, for now, we may live with a development that relies on the historic unix style config files.<br>And Chetan's 'WINDOWS\Config' approach may be a part of this temporary solution.<br>
in the meantime, I'll be thinking a bit more on this configuration topic.<br clear="all"><br>thanks to you all for the feedback and ideas.<br><br>cheers,<br>Arnaud<br><br>