Re: [ADMIN] changing privleges in pg_user/shadow

From: Karl DeBisschop <kdebisschop(at)range(dot)infoplease(dot)com>
To: mike(at)goldendome(dot)com
Cc: pgsql-admin(at)postgreSQL(dot)org
Subject: Re: [ADMIN] changing privleges in pg_user/shadow
Date: 2000-02-10 18:53:49
Message-ID: 200002101853.NAA04805@skillet.infoplease.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


>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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message mike focosi 2000-02-10 20:05:07 Re: [ADMIN] changing privleges in pg_user/shadow
Previous Message mike focosi 2000-02-10 18:31:06 changing privleges in pg_user/shadow