From cb55a59b9a0ee4c8f49aad1f50b79a637b54ee43 Mon Sep 17 00:00:00 2001 From: Carla Schroder Date: Tue, 2 Feb 2016 16:01:56 -0800 Subject: [PATCH] installer creates special db user with limited privileges --- .gitignore | 3 +++ admin_manual/installation/installation_wizard.rst | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/.gitignore b/.gitignore index eac3c0ad3..2803b4982 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# Dolphin file manager +*.directory + # Generated Files */_build/* diff --git a/admin_manual/installation/installation_wizard.rst b/admin_manual/installation/installation_wizard.rst index 2a8744c11..5f2d08497 100644 --- a/admin_manual/installation/installation_wizard.rst +++ b/admin_manual/installation/installation_wizard.rst @@ -69,6 +69,16 @@ modules). You will need the root database login, or any administrator login that has permissions to create and modify databases, and then enter any name you want for your ownCloud database. +After you enter your root or administrator login for your database, the +installer creates a special database user with privileges limited to the +ownCloud database. Then ownCloud needs only the special ownCloud database +user, and drops the root dB login. This user is named for your ownCloud admin +user, with an ``oc_`` prefix, and then given a random password. The ownCloud +database user and password are written into ``config.php``:: + + 'dbuser' => 'oc_molly', + 'dbpassword' => 'pX65Ty5DrHQkYPE5HRsDvyFHlZZHcm', + Click Finish Setup, and start using your new ownCloud server. .. figure:: images/install-wizard-a2.png