pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Crawford <scrawford@pinpointresearch.com>
To: Rama Krishnan <ramky25@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Default UID for postgres user in linux
Date: Fri, 11 Apr 2014 12:16:51 -0700
Message-ID: <53483FA3.4050303@pinpointresearch.com> (raw)
In-Reply-To: <CANR=X70LoHhjtO3x5WLWm8aN4FRwyNS7HxAwDa-M9vjGSYjh0w@mail.gmail.com>
References: <CANR=X70LoHhjtO3x5WLWm8aN4FRwyNS7HxAwDa-M9vjGSYjh0w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (9+ messages)  latest in thread

Message-ID: <53483FA3.4050303@pinpointresearch.com>
Permalink:  ../53483FA3.4050303@pinpointresearch.com/
Also on:    postgresql.org/message-id/53483FA3.4050303@pinpointresearch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scrawford@pinpointresearch.com, ramky25@gmail.com
  Subject: Re: Default UID for postgres user in linux
  In-Reply-To: <53483FA3.4050303@pinpointresearch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox