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

From Maria L. Wilson
Subject Re: postgres database user account
Date
Msg-id 4C2BA2DF.2090900@nasa.gov
Whole thread Raw
In response to Re: postgres database user account  ("Plugge, Joe R." <JRPlugge@west.com>)
Responses Re: postgres database user account  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: postgres database user account  ("Plugge, Joe R." <JRPlugge@west.com>)
Re: postgres database user account  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: postgres database user account  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: postgres database user account  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-admin
ok - thanks that makes sense....

so what about the operating system account that is different?  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?

thanks again - Maria

Plugge, Joe R. wrote:
> Yes, you can create a role that is a superuser that should be able to do internal work:
>
> CREATE ROLE myuser;
> ALTER ROLE myuser WITH SUPERUSER INHERIT CREATEROLE CREATEDB LOGIN PASSWORD 'mypassword' VALID UNTIL 'infinity';
>
> If you are talking about the operating system account named postgres, then this is a different question.
>
> -----Original Message-----
> From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Maria L. Wilson
> Sent: Wednesday, June 30, 2010 2:15 PM
> To: pgsql-admin@postgresql.org
> Subject: [ADMIN] postgres database user account
>
> Hoping someone out there can answer this general question(s)....  I am
> having to justify having access to the "postgres" database user account
> to do DBA type work.....
> Is there any specific items that require the postgres database user
> account to run?
>
> Can any general user (with superuser permission) basically do what this
> postgres account does?
>
> thanks,  Maria Wilson
> Nasa/Langley Research Center
> Hampton, Virginia 23681
>
>

pgsql-admin by date:

Previous
From: "Plugge, Joe R."
Date:
Subject: Re: postgres database user account
Next
From: Nathan Robertson
Date:
Subject: Re: cache lookup failed for index