Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541552 - PostgreSQL Server Configuration
Summary: PostgreSQL Server Configuration
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Docs Team
URL: https://wiki.gentoo.org/wiki/PostgreS...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-27 18:48 UTC by Mauro Crociara
Modified: 2015-02-27 21:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mauro Crociara 2015-02-27 18:48:56 UTC
The documentations say:

"Now start PostgreSQL and set the password for the database superuser postgres . The commands are to be performed as 'root' in the following code listing:

  Change 'trust' to 'password' for the localhost connections.  <---- here
"

We shouldn't change 'trust' to 'password' here, because otherwise we are not able to do the first login. After logged in as localhost the first time, we have to set the password for the user postgres and then change 'trust' to 'password' for the local connection.

Reproducible: Always




I have setted the severity as major because without this step, we are not able to configure the server and log in.
Comment 1 Aaron W. Swenson gentoo-dev 2015-02-27 21:48:56 UTC
You're only to make that change for localhost (host-type connections). The Unix Domain Socket (local-type) retains the trust method.

The documentation is correct.