Re: [ADMIN] changing privleges in pg_user/shadow

From: "mike focosi" <mike(at)goldendome(dot)com>
To: <kdebisschop(at)range(dot)infoplease(dot)com>
Cc: <pgsql-admin(at)postgreSQL(dot)org>
Subject: Re: [ADMIN] changing privleges in pg_user/shadow
Date: 2000-02-10 20:05:07
Message-ID: 006401bf7402$20ff92c0$2a252fd0@goldendome.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.net
http://www.surfmichiana.com
http://www.wndu.com
----- Original Message -----
From: Karl DeBisschop <kdebisschop(at)range(dot)infoplease(dot)com>
To: <mike(at)goldendome(dot)com>
Cc: <pgsql-admin(at)postgreSQL(dot)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(at)alert(dot)infoplease(dot)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
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2000-02-10 20:08:45 Re: [ADMIN] changing privleges in pg_user/shadow
Previous Message Karl DeBisschop 2000-02-10 18:53:49 Re: [ADMIN] changing privleges in pg_user/shadow