<div dir="ltr"><div><div><div><div>The current Setup Wizard (based on branch_9_0_x) requires filling in two <span tabindex="-1" id=":1bq.1" style class="">connections</span>: "Setup Connection" and "<span tabindex="-1" id=":1bq.2" style class="">OpenCms</span> Connection." For this last one, there is a hint:<br><br><div style="margin-left:40px">The <span tabindex="-1" id=":1bq.3" style class="">OpenCms</span> Connection is used when running <span tabindex="-1" id=":1bq.4" style class="">Alkacon</span> <span tabindex="-1" id=":1bq.5" style class="">OpenCms</span> after the installation.<br><br>For security reasons, the specified user should not have database administration permissions. This user information is stored in the <span tabindex="-1" id=":1bq.6" style class="">opencms</span>.properties file after the setup. <br></div><br></div>I could find in the docs (install.html packaged in the war distribution) a "Security issues" section, recommending to execute some <span tabindex="-1" id=":1bq.7" style class="">mysql</span> commands after installation:<br></div><div><br><code> use <span tabindex="-1" id=":1bq.8" style class="">mysql</span>;
<br> insert into user values ('localhost', 'opencmsuser', password('XXXXX'),\
<br> 'N','N','N','N','N','N','N','N','N','N','N','N','N','N');
<br> insert into db values ('localhost', 'opencms', 'opencmsuser',\
<br> 'Y','Y','Y','Y','Y','Y','Y','Y','Y','Y');
<br> flush privileges;</code><br><br></div>but does any one know what is the smallest set of permissions for the "<span tabindex="-1" id=":1bq.9" style class="">OpenCms</span> Connection" required during installation?<br><br></div>And by the way, does any one know if this "<span tabindex="-1" id=":1bq.10" style class="">opencmsuser</span>" is the same as the "<span tabindex="-1" id=":1bq.11" style class="">OpenCms</span> Connection" one?<br><br></div><br>Regards<br><div><div><br clear="all"><div><div><div><div>Alberto <span tabindex="-1" id=":1bq.12" style class="">Gallardo</span><br></div>
</div></div></div></div></div></div>