Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gzbKb-0003IK-7H for pgsql-admin@arkaria.postgresql.org; Fri, 01 Mar 2019 06:07:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gzbKZ-0007GW-OF for pgsql-admin@arkaria.postgresql.org; Fri, 01 Mar 2019 06:07:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gzbKZ-0007GP-E7 for pgsql-admin@lists.postgresql.org; Fri, 01 Mar 2019 06:07:35 +0000 Received: from mail-oi1-x241.google.com ([2607:f8b0:4864:20::241]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gzbKJ-0002Vh-Mb for pgsql-admin@lists.postgresql.org; Fri, 01 Mar 2019 06:07:35 +0000 Received: by mail-oi1-x241.google.com with SMTP id j135so18633349oib.13 for ; Thu, 28 Feb 2019 22:07:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=V/4327d+fGms36lGropaxEuJudVyg1C/yLV4rqRs1C0=; b=Lm7Ti2zudMlOpFvG4fUquesKlXlp42lDA/b2T/c68/4j1w89VOCPZw+2Ri4dJM8iEV lVNn65gfCuZa/aPhrMz2IixUYfM/6pyrP85QREKN3tUDvvjQMxe3EX7e6YkGLNNzUjzb wU3AoD84Ond3QjAjo6bTcTkTpBleLMW13zQi9mlPfpLDMJ9KAoel4QPR9yA6+GI4IYR1 5GOgFvRfeTVqtlZhgbRjgfLaIx9gzvYsGx+f/RVo5H6787RaZo1OXzWthOjqCRZL+h9U +MQYVf5tUNc4redkSStotkwu93OLTxgn9eVkjM3S7tZD/s60MfQqDm4EjytU2PMUYbMB oFFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=V/4327d+fGms36lGropaxEuJudVyg1C/yLV4rqRs1C0=; b=SZZdzBLNut1VGM1NAXUTGe2jkGU90cxbSzxSLcC0rjHwxf/rPdEYw3h9J6YjEDcSR3 FLOQwdyRUVotHMAhgG7r3gh6xS9zqYLtMsqgK0Zf6bztdtU0l+6JCTJNiWZ9hDq4/JSY fX6OFcPWzMYJ3XFpCu5zBXclz9dfceR7JsbsfhOjNhywCBw/tqe6oX6bN5dtJ9dcb6pY xG2Clewzz73qoYsDrmS/i0juuTe86Eczay1CkimQkQszHqZODXtuG344hwEiWrUH1yhr c8fZzrUF9nB2/Fosy+qS7WnHk/HIGu5MHLr3NnJVmywiS85Gxy/ZtjTFkdDMeK8bP5Wk a1eQ== X-Gm-Message-State: AHQUAuZ+cLVkf1X64W+v1vbWrvm8IU8PYAlO72PgxbCnN/hP9Mjhgh79 ZdWprytKaXmGNkePikg3s+j0TpQx X-Google-Smtp-Source: AHgI3IZXzn84zmWfuSxraYcBwZpOuq6q/R75ztGGVIURknYjCmpArnBlngN79Br6fqrM1Dt/OdKFpA== X-Received: by 2002:aca:cf8d:: with SMTP id f135mr2346448oig.14.1551420437408; Thu, 28 Feb 2019 22:07:17 -0800 (PST) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id d11sm8392156otp.18.2019.02.28.22.07.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Feb 2019 22:07:16 -0800 (PST) Subject: Re: Installation of Postgres 10.0 and running application with HA without postgres user at OS To: pgsql-admin@lists.postgresql.org References: From: Ron Message-ID: Date: Fri, 1 Mar 2019 00:07:16 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------B26C0FB6F29D3AE9501EE5A3" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------B26C0FB6F29D3AE9501EE5A3 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 2/28/19 11:07 PM, soumitra bhandary wrote: > Hi , > > I am using RHEL to install Postgres 10 and setting up replication . But in > my OS no postgres user exists . Installed it with sudo access . Can I run > the postgres DB with all it's utility (like psql, vaccumdb , pg_rewind , > initdb etc.) along with Master slave replication, archival process without > postgres user. How are you installing it?  (Packages will automatically create Linux account "postgres".) > If it can be done , do I need to follow any extra step to the os user > apart from postgres ? > > Is there any way to skip postgres os user ? Why? -- Angular momentum makes the world go 'round. --------------B26C0FB6F29D3AE9501EE5A3 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 2/28/19 11:07 PM, soumitra bhandary wrote:
Hi , 

I am using RHEL to install Postgres 10 and setting up replication . But in my OS no postgres user exists . Installed it with sudo access . Can I run the postgres DB with all it's utility (like psql, vaccumdb , pg_rewind , initdb etc.) along with Master slave replication, archival process without postgres user.

How are you installing it?  (Packages will automatically create Linux account "postgres".)

If it can be done , do I need to follow any extra step to the os user apart from postgres ?

Is there any way to skip postgres os user ?

Why?


--
Angular momentum makes the world go 'round.
--------------B26C0FB6F29D3AE9501EE5A3--