repmgr icon indicating copy to clipboard operation
repmgr copied to clipboard

Enable remote execution of repmgr via a different system user

Open ibarwick opened this issue 7 years ago • 0 comments

Currenly, when executing repmgr on a remote note, repmgr assumes the SSH user it's connecting as is the postgres user. This however makes it impractical to use a different SSH user if the operation needs to read the data directory, e.g. node status --is-shutdown-cleanly .

To resolve this, add some way of optionally configuring the remote invocation to use sudo.

ibarwick avatar Sep 27 '18 06:09 ibarwick