From: David Date: Thu, 12 Mar 2015 16:07:42 +0000 (+0100) Subject: Use postgresql options to reduce questions X-Git-Tag: 1.1.0~1752^2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/a6852b558a8b3d7f1a88b5acdf6ad495d9dbd682 Use postgresql options to reduce questions -S set new role to not be a superuser -R disable the creation of more new roles for the new role --- diff --git a/doc/install/install-api-server.html.textile.liquid b/doc/install/install-api-server.html.textile.liquid index 1af21e9f06..9db9eb920f 100644 --- a/doc/install/install-api-server.html.textile.liquid +++ b/doc/install/install-api-server.html.textile.liquid @@ -109,12 +109,10 @@ Generate a new database password. Nobody ever needs to memorize it or type it, s Create a new database user with permission to create its own databases. -
~/arvados/services/api$ sudo -u postgres createuser --createdb --encrypted --pwprompt arvados
+
~/arvados/services/api$ sudo -u postgres createuser --createdb --encrypted -R -S --pwprompt arvados
 [sudo] password for you: yourpassword
 Enter password for new role: paste-password-you-generated
 Enter it again: paste-password-again
-Shall the new role be a superuser? (y/n) n
-Shall the new role be allowed to create more new roles? (y/n) n
 
Configure API server to connect to your database by creating and updating @config/database.yml@. Replace the @xxxxxxxx@ database password placeholders with the new password you generated above.