tbrehm
2009-07-05 6b029af653ce96709aedea68b72c96b4765e9db8
install/lib/installer_base.lib.php
@@ -211,6 +211,9 @@
      $tpl_ini_array['web']['website_path'] = $conf['web']['website_path'];
      $tpl_ini_array['web']['website_symlinks'] = $conf['web']['website_symlinks'];
        $tpl_ini_array['cron']['crontab_dir'] = $conf['cron']['crontab_dir'];
      $tpl_ini_array['web']['security_level'] = 20;
      $tpl_ini_array['web']['user'] = $conf['web']['user'];
      $tpl_ini_array['web']['group'] = $conf['web']['group'];
        
      $server_ini_content = array_to_ini($tpl_ini_array);
      $server_ini_content = mysql_real_escape_string($server_ini_content);
@@ -815,6 +818,11 @@
         exec('ln -s /etc/webalizer.conf /etc/webalizer/webalizer.conf');
      }
      
      //* add a sshusers group
      $command = 'groupadd sshusers';
      if(!is_group('sshusers')) caselog($command.' &> /dev/null 2> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
      
   }