Code

Added step8, configuration file handing. Not working yet.
[gosa.git] / setup / setup_step8.tpl
1 <div style='float:left;width:690px;'>
3 <h2>{t}Configuration File{/t}</h2>
4         <p>
5                 {t}GOsa setup has collected all data needed to create an initial configuration file.{/t}
6         </p>
7         <p>
8                 {t}If you want the setup routine to write the configuration file, use the 'Save configuration' button below. If you prefer to copy the 'gosa.conf' manually to '/etc/gosa/' you can download the configuration file by using the 'Download configuration' button.{/t}
9         </p>
10         <p>
11                 <b>{t}Automatically write configuration{/t}</b>
12         </p>
13         <p>     
14                 {if $writeable}
15                         {t}Write configuration file{/t}&nbsp;
16                         <input type='submit' name='saveconf' value='{t}Save configuration{/t}'>
17                         <br>
18                         <input {if $create_backup} checked {/if} type='checkbox' value='1' name='create_backup'>&nbsp;
19                         {t}Create a backup from existing configuration file{/t}
20                 {else}          
21                         <div style='font-weight: bold; color: red;'>{t}Can't write configuration file, please check permissions.{/t}</div>
22                         <pre>
23 {$msg_permissions}
24         {$CONFIG_DIR} 
25         {$CONFIG_DIR}{$gosa_conf_name}
26                         </pre>
27                 {/if}
28         </p>
29         <br>
30         <p>
31                 <b>{t}Manually create configuration file{/t}</b>
32         </p>
33         <p>     
34                 {t}Download the configuration file{/t}&nbsp;
35                 <input type='submit' name='getconf' value='{t}Download configuration{/t}'>
36         </p>
37         <p>     
38                 {t}After placing the file under /etc/gosa, place make sure that the webserver user is able to read gosa.conf, while other users shouldn't. You may want to execute these commands to achieve this requirement:{/t}
39         </p>
40         <pre>
41         # chown root.{$webgroup} /etc/gosa/gosa.conf
42         # chmod 640 /etc/gosa/gosa.conf
43         </pre>
44 </p>
48 </div>
49 <input type='hidden' value='1' name='step8_posted'>