From 53cc8ec6efbf786c53ce9606a314ef3d9ea9607b Mon Sep 17 00:00:00 2001 From: Shawn Pearce Date: Thu, 18 Apr 2013 17:49:11 -0700 Subject: [PATCH] Update PostgreSQL createuser example Use -RDIElPS flags when creating a new user within the database. This is a more restricted account than what was previously suggested in the documentation, reducing some potential risks. Bug: issue 1875 Change-Id: I4eab2ce2ceed2390c50d20c5bef25432c6d2cc41 --- Documentation/database-setup.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/database-setup.txt b/Documentation/database-setup.txt index 0465d62b0c..c559b0ed90 100644 --- a/Documentation/database-setup.txt +++ b/Documentation/database-setup.txt @@ -33,7 +33,7 @@ password, create a database to store the metadata, and grant the user full rights on the newly created database: ---- - $ createuser --username=postgres -S -R -D -P -E gerrit2 + $ createuser --username=postgres -RDIElPS gerrit2 $ createdb --username=postgres -E UTF-8 -O gerrit2 reviewdb ----