Re: Preventing changes to default settings of a collective

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: "Goulet, Dick" <DGoulet(at)vicr(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alex Gutman <agutman(at)emc(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Preventing changes to default settings of a collective
Date: 2005-02-24 17:43:58
Message-ID: 1109267038.30529.185.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Most of the time you have one login account, the problem would be better
solved with a group. Most of the time...

On Thu, 2005-02-24 at 11:36, Goulet, Dick wrote:
> Collective user accounts are all well & good so long as everyone using
> it understands that you don't change stuff. If you've got a user who is
> adamant that they have to have a specific password, etc... Then your
> only recourse is to create them their own user account. I've done that.
> It's a bit painful, but a lot less than having the collective/generic
> access account messed with. Therefore I agree wholeheartedly with Tom.
>
> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: Thursday, February 24, 2005 10:46 AM
> To: Alex Gutman
> Cc: pgsql-admin(at)postgresql(dot)org
> Subject: Re: [ADMIN] Preventing changes to default settings of a
> collective account?
>
> Alex Gutman <agutman(at)emc(dot)com> writes:
> > (The NOCREATEUSER option used when creating the collective user does
> > prevent it from changing its own password via
> > ALTER USER guest WITH ... PASSWORD ...
>
> You think so?
>
> This approach is doomed to failure --- the system sees no reason not to
> allow a user to change his own configuration, including his password.
>
> > Is there any way I could achieve my goal?
>
> Use more than one username.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2005-02-24 17:44:00 Re: [ADMIN] invalid multibyte character for locale
Previous Message Goulet, Dick 2005-02-24 17:36:20 Re: Preventing changes to default settings of a collective account?