Re: [ADMIN] changing privleges in pg_user/shadow

Поиск
Список
Период
Сортировка
Искать
От
Karl DeBisschop
Тема
Re: [ADMIN] changing privleges in pg_user/shadow
Дата
Msg-id
200002101853.NAA04805@skillet.infoplease.com
Ответ на
Список
Дерево обсуждения
Re: [ADMIN] changing privleges in pg_user/shadow "mike focosi" <mike@goldendome.com>

>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
В списке pgsql-admin по дате отправления
От: mike focosi
Дата:
От: mike focosi
Дата:
FAQ