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
This commit is contained in:
@@ -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
|
||||
----
|
||||
|
||||
|
Reference in New Issue
Block a user