Re: postgres user account on OSX

From: Shane Ambler <pgsql(at)Sheeky(dot)Biz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Darren Weber <darren(dot)weber(dot)lists(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: postgres user account on OSX
Date: 2008-09-11 02:53:51
Message-ID: 48C8883F.40402@Sheeky.Biz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> "Darren Weber" <darren(dot)weber(dot)lists(at)gmail(dot)com> writes:
>> There is a postgres user account on my OSX system. I'm not clear
>> about how it was created. I've installed a binary version of 8.3 in
>> /Library/PostgreSQL/8.3/ and built another version from source into
>> /usr/local/pgsql/. When I login as root and then 'su - postgres' it
>> takes me to the postgres account and the user directory is at
>> /opt/local/var/db/postgresql83/.
>
>> Can someone explain how this user account was created?
>
> I'm guessing that binary package created it for you --- check its docs,
> or look at the install script if you can.
>

Quite sure that the EDB binary installer sets /Library/PostgreSQL8 as
the home path, matching the install location.

The /opt/local/..... home path would indicate that you used macports or
similar at some stage and the install from there would have created it.

As the postgres user existed the EDB installer would have left it as is.

If you want a GUI to alter the home location of the existing user
account run NetInfo Manager which is in /Applications/Utilities

--

Shane Ambler
pgSQL (at) Sheeky (dot) Biz

Get Sheeky @ http://Sheeky.Biz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message questions 2008-09-11 03:10:20 initdb memory segment creation error
Previous Message Mohd Fahadullah 2008-09-11 00:47:35 Re: Server installation problem using freebsd ports