From: Scott Marlowe <smarlowe@g2switchworks.com>
To: wim.bertels@khleuven.be
Cc: pgsql-admin@postgresql.org
Subject: Re: alter user
Date: Fri, 23 Sep 2005 10:32:28 -0500
Message-ID: <1127489548.30825.90.camel@state.g2switchworks.com> (raw)
In-Reply-To: <200509230232.58668.wim.bertels@khleuven.be>
References: <BB4329D6F8E32046ACFC6631ACA3E7BA18FC36@koolancexeon.g2switchworks.com>
<200509230232.58668.wim.bertels@khleuven.be>
On Thu, 2005-09-22 at 19:32, Wim Bertels wrote:
> On Friday 23 September 2005 01:51, Scott Marlowe seinde rooksignalen:
> > Instead of using a general purpose account, why not give everyone an
> > account, then make them a member of a group, and give that group the
> > access.
> >
> > That way you can easily add / remove people from the group instead of
> > trying to do it this way.
>
> not an option, its for scripting and testing purposes
I don't see why my method(s) excludes scripting and testing.
> >
> > Otherwise, don't use a password, set the machine to use trust or ident or
> > something like that where a password wouldn't matter.
>
> although it is then a user/pasword known by a lot of people,
> it is still beter than no password
No, it really isn't. Once everyone (or a large enough subset of
everyone) knows the password, it's no better than an account that can
log in without one.
If it's a generic read only account with the same name as the database,
give it select only permission, and add a line like this:
host sameuser all 10.1.1.1 255.255.255.0 trust
where the 10.1.1.1 / 255.255.255.0 are replaced with the appropriate
mask to let your test machines log in. Put the host / md5 lines after
this one for the same line but with all in place of sameuser and you're
gold.
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-admin@postgresql.org
Cc: smarlowe@g2switchworks.com, wim.bertels@khleuven.be
Subject: Re: alter user
In-Reply-To: <1127489548.30825.90.camel@state.g2switchworks.com>
References: <BB4329D6F8E32046ACFC6631ACA3E7BA18FC36@koolancexeon.g2switchworks.com> <200509230232.58668.wim.bertels@khleuven.be> <1127489548.30825.90.camel@state.g2switchworks.com>
* 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