Re: Default UID for postgres user in linux

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: Rama Krishnan <ramky25(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Default UID for postgres user in linux
Date: 2014-04-11 19:16:51
Message-ID: 53483FA3.4050303@pinpointresearch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 04/09/2014 06:28 AM, Rama Krishnan wrote:
> Hi All,
>
> While installing postgres, a user named "postgres" will be
> automatically created.
> What is the default UID for postgres user in linux ?
>
There isn't one. PostgreSQL isn't in charge of assigning user-names or
passwords and the user under which it runs does not have to be postgres.

Many Linux distributions will create a "postgres" user with PostgreSQL
is installed but the UID can vary depending on distribution and the
order that services were installed. I just looked at a few of my
machines and found UIDs of 114, 106, 107, 26, ... and a similar
variation in GID.

Cheers,
Steve

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jim Mercer 2014-04-14 16:39:57 streaming replication - pgsql 9.2.3
Previous Message Jaime Casanova 2014-04-11 01:57:07 Re: Tipos de datos Funciones