| Issue 1875: | Postgres createuser has no '-A' flag | |
| 2 people starred this issue and may be notified of changes. | Back to list |
************************************************************ ***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW ***** ***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL ***** ***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC. ***** ***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS! ***** ************************************************************ Affected Version: Documentation What steps will reproduce the problem? 1) Take a look at http://gerrit.googlecode.com/svn/documentation/2.0/install.html 2) It states that gerrit user should be created using `createuser -A -D -P -E gerrit2` command. What is the expected output? What do you see instead? The correct command for creating postgres user for gerrit should be `createuser -DElPS gerrit2` Please provide any additional information below. Following the current PostgreSQL documentation <http://www.postgresql.org/docs/9.2/static/app-createuser.html> there is no -A flag available and I has not found any in the older versions neither. Although `createuser` does not fail when this flag is applied it would be better to remove it from the document cause it might confuse the users. Moreover I would prefer to consider adding the following flags as well if that privileges is required: -R The new user will not be allowed to create new roles. This is the default. -I The new role will not automatically inherit privileges of roles it is a member of. I would suggest to put the `createuser` command in the documentation that creates the user with the MINIMUM required privileges and comment there that an administrator might extend the gerrit2 user privileges if one would like but it is not required to have gerrit up and running.
Apr 18, 2013
#1
sop@google.com
Status:
ChangeUnderReview
Apr 18, 2013
https://gerrit-review.googlesource.com/44770
May 12, 2013
(No comment was entered for this change.)
Status:
Submitted
Labels: FixedIn-2.6 |
|
| ► Sign in to add a comment |