From: mike focosi <mike@goldendome.com>
To: kdebisschop@range.infoplease.com
Cc: pgsql-admin@postgreSQL.org
Subject: Re: [ADMIN] changing privleges in pg_user/shadow
Date: Thu, 10 Feb 2000 15:05:07 -0500
Message-ID: <006401bf7402$20ff92c0$2a252fd0@goldendome.com> (raw)
References: <003c01bf73f4$fe92ef00$2a252fd0@goldendome.com>
<200002101853.NAA04805@skillet.infoplease.com>
i figured it out. found the 'alter user' table documentation. seems to be
what i needed.
thanks for your help.
mike focosi
senior applications programmer
golden dome media
http://www.gdp.nethttp://www.surfmichiana.comhttp://www.wndu.com
----- Original Message -----
From: Karl DeBisschop <kdebisschop@range.infoplease.com>
To: <mike@goldendome.com>
Cc: <pgsql-admin@postgreSQL.org>
Sent: Thursday, February 10, 2000 1:53 PM
Subject: Re: [ADMIN] changing privleges in pg_user/shadow
>
> >i am wondering if it is possible to change the attributes in pg_user and
> >pg_shadow for a paticular user. i can't seem to find any documentation on
> >'updating' users other than createuser and dropuser. is it possible to
> >change the users' attributes? for example could this doesn't seem to
work:
> >
> >mydb=>update pg_user set usecreatedb = 'f' where usename = 'mike';
>
> pg_user is anon-updatable view.
>
> If you are a superuser, however, you can update pg_shadow.
>
> --
> Karl DeBisschop <kdebisschop@alert.infoplease.com>
> 617.832.0332 (Fax: 617.956.2696)
>
> Information Please - your source for FREE online reference
> http://www.infoplease.com - Your Ultimate Fact Finder
> http://kids.infoplease.com - The Great Homework Helper
>
> Netsaint Plugins Development
> http://netsaintplug.sourceforge.net
>
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: mike@goldendome.com, kdebisschop@range.infoplease.com
Subject: Re: [ADMIN] changing privleges in pg_user/shadow
In-Reply-To: <006401bf7402$20ff92c0$2a252fd0@goldendome.com>
References: <003c01bf73f4$fe92ef00$2a252fd0@goldendome.com> <200002101853.NAA04805@skillet.infoplease.com> <006401bf7402$20ff92c0$2a252fd0@goldendome.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