AlternC/src
Antoine Beaupré d5a4c72e4a Major redesign of the MySQL backend interface to fix a security issue.
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)
2008-04-13 04:35:19 +00:00
..
.cvsignore
Makefile use more standard mode 750 instead of 754 2007-09-09 21:00:21 +00:00
basedir_prot.sh Major redesign of the MySQL backend interface to fix a security issue. 2008-04-13 04:35:19 +00:00
du.pl
fixperms.sh Major redesign of the MySQL backend interface to fix a security issue. 2008-04-13 04:35:19 +00:00
functions.sh Major redesign of the MySQL backend interface to fix a security issue. 2008-04-13 04:35:19 +00:00
mail_add modification de l'appel systeme à chown, en appel au chown builtin 2007-01-04 16:12:21 +00:00
mail_del remove quotemeta everywhere, and make sure variables are safe before using them. Closes: #1003 2006-11-29 04:02:41 +00:00
mem_add modification de l'appel systeme à chown, en appel au chown builtin 2007-01-04 16:12:21 +00:00
mem_del remove quotemeta everywhere, and make sure variables are safe before using them. Closes: #1003 2006-11-29 04:02:41 +00:00
quota_delete Comme php5 peut etre installé, nous utilisons le lien php qui pointe soit vers php5 soit vers php4 ( soit php6 ? ). 2007-04-18 16:55:34 +00:00
quota_edit remove quotemeta everywhere, and make sure variables are safe before using them. Closes: #1003 2006-11-29 04:02:41 +00:00
quota_edit.sh use absolute path for df 2007-05-31 17:03:47 +00:00
quota_get remove quotemeta everywhere, and make sure variables are safe before using them. Closes: #1003 2006-11-29 04:02:41 +00:00
quota_get.sh faire que wc marche aussi avec le chemin absolu 2006-11-28 02:20:50 +00:00
quota_init Comme php5 peut etre installé, nous utilisons le lien php qui pointe soit vers php5 soit vers php4 ( soit php6 ? ). 2007-04-18 16:55:34 +00:00
rawstat.daily Comme php5 peut etre installé, nous utilisons le lien php qui pointe soit vers php5 soit vers php4 ( soit php6 ? ). 2007-04-18 16:55:34 +00:00
sendmail
slave_dns Comme php5 peut etre installé, nous utilisons le lien php qui pointe soit vers php5 soit vers php4 ( soit php6 ? ). 2007-04-18 16:55:34 +00:00
spoolsize.php remove the size_db cache, it wasn't used in the code and is fully accessible from the PHP/MySQL API 2007-08-21 00:14:13 +00:00
sqlbackup.sh Major redesign of the MySQL backend interface to fix a security issue. 2008-04-13 04:35:19 +00:00
update_domains.sh Major redesign of the MySQL backend interface to fix a security issue. 2008-04-13 04:35:19 +00:00