Re: postgres database user account - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: postgres database user account
Date
Msg-id 4C2B68280200002500032E39@gw.wicourts.gov
Whole thread Raw
In response to Re: postgres database user account  ("Maria L. Wilson" <Maria.L.Wilson-1@nasa.gov>)
List pgsql-admin
"Maria L. Wilson" <Maria.L.Wilson-1@nasa.gov> wrote:

> What we are planning on doing with the OS acct (postgres) is only
> allowing users sudo ability to this account.  Nobody should be
> able to directly log into it.  Do you think that will cause
> problems?

It's what we do.  We use ident logins from this account, and use it
for maintenance jobs scheduled through crontab, such as database
vacuum and some backup related processes.  It works well for us, and
we figure that if someone can run as root, they can trash the
database anyway, so we don't think we're opening up any security
holes with it.

-Kevin

pgsql-admin by date:

Previous
From: Gilberto Castillo Martínez
Date:
Subject: Re: postgres database user account
Next
From: Tom Lane
Date:
Subject: Re: cache lookup failed for index