Re: Connecting with PostgreSQL 9.1 using the Ubuntu machine user and peer authentication method

From: Jorge Arevalo <jorgearevalo(at)libregis(dot)org>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Connecting with PostgreSQL 9.1 using the Ubuntu machine user and peer authentication method
Date: 2014-08-07 08:42:42
Message-ID: CAMhtMNMkU-mepkRtJ8x9_GYcaqNR5OKkZnVXOF4fgRr7s7tz7A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Aug 7, 2014 at 1:08 AM, John R Pierce <pierce(at)hogranch(dot)com> wrote:

> On 8/6/2014 3:43 PM, Jorge Arevalo wrote:
>
>>
>> I want to connect to my local installation of PostgreSQL 9.1 using my
>> machine user (who is vagrant). So, after reading PostgreSQL documentation,
>> I thought I just needed to:
>>
>>
>
> wouldn't it be easier to ...
>
> create user vagrant superuser;
> create database vagrant owner vagrant;
>
> ?
>
>
>
> --
> john r pierce 37N 122W
> somewhere on the middle of the left coast
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

That's an option, yes. I just wanted to avoid the creation of a new
superuser, if I can identify my vagrant machine user with db postgres user

--
Jorge Arevalo
Freelance developer

http://about.me/jorgeas80

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Taylor 2014-08-07 11:22:10 Re: Recursive CTE trees + Sorting by votes
Previous Message Russell Keane 2014-08-07 08:42:13 Upgrading 9.0 to 9.3 - permission denied to pg_upgrade_utility.log