• Antoine Beaupré's avatar
    Major redesign of the MySQL backend interface to fix a security issue. · d5a4c72e
    Antoine Beaupré authored
    See: #318.
    
    As of now, the MySQL configuration used everywhere by AlternC is not
    stored in the main configuration file (/etc/alternc/local.sh) but in a
    MySQL configuration file in /etc/alternc/my.cnf, which enables us to
    call mysql without exposing the password on the commandline.
    
    The changes here are quite invasive but will allow us to factor out
    the MySQL configuration better. See #364.
    
    This includes a partial rewrite of the mysql.sh logic, which is now ran
    from the postinst script (and not alternc.install) which will allow us
    to actually change the MySQL root user properly. See #601.
    
    This commit was tested like this:
    
     * clean install on etch (working)
     * upgrade from a clean 0.9.7 (working)
    d5a4c72e
Name
Last commit
Last update
..
.cvsignore Loading commit data...
Makefile Loading commit data...
basedir_prot.sh Loading commit data...
du.pl Loading commit data...
fixperms.sh Loading commit data...
functions.sh Loading commit data...
mail_add Loading commit data...
mail_del Loading commit data...
mem_add Loading commit data...
mem_del Loading commit data...
quota_delete Loading commit data...
quota_edit Loading commit data...
quota_edit.sh Loading commit data...
quota_get Loading commit data...
quota_get.sh Loading commit data...
quota_init Loading commit data...
rawstat.daily Loading commit data...
sendmail Loading commit data...
slave_dns Loading commit data...
spoolsize.php Loading commit data...
sqlbackup.sh Loading commit data...
update_domains.sh Loading commit data...