forgot to restart postgres; more exact match on sed
This commit is contained in:
parent
e55c767f50
commit
98095b39bd
1 changed files with 2 additions and 1 deletions
|
@ -125,13 +125,14 @@ In the prompt:
|
|||
|
||||
Under Ubuntu 16.04, you will need to explicitly enable ident authentication so that local users can connect to the database without a password:
|
||||
|
||||
sudo sed -i '/peer$/a host all all 127.0.0.1/32 ident' /etc/postgresql/9.?/main/pg_hba.conf
|
||||
sudo sed -i '/^local.*postgres.*peer$/a host all all 127.0.0.1/32 ident' /etc/postgresql/9.?/main/pg_hba.conf
|
||||
|
||||
and install an ident daemon, which does not come installed by default:
|
||||
|
||||
sudo apt-get install pidentd
|
||||
sudo systemctl enable pidentd
|
||||
sudo systemctl start pidentd
|
||||
sudo systemctl restart postgresql
|
||||
|
||||
## Rbenv
|
||||
|
||||
|
|
Loading…
Reference in a new issue