From: Christoph Berg <myon@debian.org>
To: Seb <spluque@gmail.com>
Cc: pgsql-pkg-debian@postgresql.org
Subject: Re: no password on postgres user and pgagent
Date: Tue, 10 May 2016 11:08:28 +0200
Message-ID: <20160510090828.GA7473@msg.df7cb.de> (raw)
In-Reply-To: <87r3daopfm.fsf@otaria.sebmel.org>
References: <87r3daopfm.fsf@otaria.sebmel.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>
Re: Seb 2016-05-10 <87r3daopfm.fsf@otaria.sebmel.org>
> Hello,
>
> I'd like to run pgagent with the postgres user, which doesn't have a
> password. I thought it'd be as simple as setting up an init script as:
>
> [ -- Begin <pgagent_start.sh> ---------------------------------------------- ]
> #! /bin/sh
>
> pgagent user=postgres host=localhost dbname=postgres
The default pg_hba.conf requires md5 passwords for "host=localhost"
connections. If you remove that connection parameter, a passwordless
UNIX socket connection will be used. (In which case pgagent must be
running as the "postgres" OS user.)
Christoph
--
Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-debian
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-pkg-debian@postgresql.org
Cc: myon@debian.org, spluque@gmail.com
Subject: Re: no password on postgres user and pgagent
In-Reply-To: <20160510090828.GA7473@msg.df7cb.de>
References: <87r3daopfm.fsf@otaria.sebmel.org> <20160510090828.GA7473@msg.df7cb.de>
* 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