[Eisfair] Installation von Nextcloud v. 1.2.1
Marcus Roeckrath
marcus.roeckrath at gmx.de
Di Apr 11 18:44:45 CEST 2017
Hallo Holger,
Holger Bruenjes wrote:
> Am 2017-04-11 um 09:18 schrieb Marcus Roeckrath:
>
>> Der Admin-User root muss vorhanden sein,
>
> !!_NEIN_!!
>
>
> Es muss !!_ein_!! Admin user vorhanden sein und der sollte
> !!_nicht_!! root heissen.
Verstehe ich den folgenden Code aus /var/install/bin/mariadb-tools-userpass
falsch?
if [ "${user_name}" = "root" ]
then
cat > /root/.my.cnf <<EOF
[client]
user=root
password="${password}"
[mysqladmin]
user=root
password="${password}"
[mysqldump]
user=root
password="${password}"
[mysql]
user=root
password="${password}"
[mysqlcheck]
user=root
password="${password}"
[mysql_update]
user=root
password="${password}"
EOF
chmod 0640 /root/.my.cnf
ln -sf /root/.my.cnf /home/eis/.my.cnf
chmod 0700 /home/eis
--
Gruss Marcus
Mehr Informationen über die Mailingliste Eisfair