Received: from bo-peep.goldendome.com (bo-peep.goldendome.com [12.2.156.3]) by hub.org (8.9.3/8.9.3) with ESMTP id PAA08813 for ; Thu, 10 Feb 2000 15:01:54 -0500 (EST) (envelope-from mike@goldendome.com) Received: from achilleus (gdm42 [208.47.37.42]) by bo-peep.goldendome.com (8.8.8/8.8.6/PIH) with SMTP id PAA26555; Thu, 10 Feb 2000 15:02:11 -0500 (EST) Message-ID: <006401bf7402$20ff92c0$2a252fd0@goldendome.com> From: "mike focosi" To: Cc: References: <003c01bf73f4$fe92ef00$2a252fd0@goldendome.com> <200002101853.NAA04805@skillet.infoplease.com> Subject: Re: [ADMIN] changing privleges in pg_user/shadow Date: Thu, 10 Feb 2000 15:05:07 -0500 Organization: golden dome interactive MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 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 To: Cc: 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 > 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 >