From b17b9eb4355164b3d437b1c4fa5ad22240c0578c Mon Sep 17 00:00:00 2001 From: root Date: Wed, 25 Jul 2012 21:56:51 +0200 Subject: [PATCH] fix mysql password --- debconf | 6 ++---- install_yunohost | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/debconf b/debconf index dfd97ba..3f20d02 100644 --- a/debconf +++ b/debconf @@ -1,7 +1,7 @@ postfix postfix/main_mailer_type select Internet Site postfix postfix/mailname string /etc/mailname -mysql-server-5.1 mysql-server/root_password password -mysql-server-5.1 mysql-server/root_password_again password +mysql-server-5.1 mysql-server/root_password password yunohost +mysql-server-5.1 mysql-server/root_password_again password yunohost samba-common samba-common/workgroup string WORKGROUP samba-common samba-common/workgroup boolean true nslcd nslcd/ldap-bindpw password @@ -12,5 +12,3 @@ nslcd nslcd/ldap-binddn string nslcd nslcd/ldap-base string dc=yunohost,dc=org proftpd-basic shared/proftpd/inetd_or_standalone select standalone libnss-ldapd libnss-ldapd/nsswitch multiselect group, passwd, shadow -mysql-server-5.1 mysql-server/root_password password seen false -mysql-server-5.1 mysql-server/root_password_again password seen false diff --git a/install_yunohost b/install_yunohost index bb8096d..066f7f0 100755 --- a/install_yunohost +++ b/install_yunohost @@ -57,6 +57,7 @@ then echo "Install yunohost Failure" exit 1 else + mysqladmin -u root -pyunohost password '' service slapd restart service apache2 restart service dovecot restart