Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WYgwc-0005pE-0h for pgsql-admin@arkaria.postgresql.org; Fri, 11 Apr 2014 19:16:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WYgwb-000850-0y for pgsql-admin@arkaria.postgresql.org; Fri, 11 Apr 2014 19:16:57 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WYgwa-00084s-1o for pgsql-admin@postgresql.org; Fri, 11 Apr 2014 19:16:56 +0000 Received: from cerberus.pinpointresearch.com ([66.7.238.130] helo=polaris.pinpointresearch.com) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WYgwX-0004MB-2U for pgsql-admin@postgresql.org; Fri, 11 Apr 2014 19:16:54 +0000 Received: from [192.168.1.179] (betelgeuse.pinpointresearch.com [192.168.1.179]) by polaris.pinpointresearch.com (Postfix) with ESMTP id 9DCEAE00EC82; Fri, 11 Apr 2014 12:16:51 -0700 (PDT) Message-ID: <53483FA3.4050303@pinpointresearch.com> Date: Fri, 11 Apr 2014 12:16:51 -0700 From: Steve Crawford User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Rama Krishnan , pgsql-admin@postgresql.org Subject: Re: Default UID for postgres user in linux References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.4 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org 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