Removing Users and Revoking Privileges

From: Carl McCalla <Carl(dot)Mccalla(at)noaa(dot)gov>
To: pgsql-general(at)postgresql(dot)org
Cc: Steve R Olson <Steve(dot)R(dot)Olson(at)noaa(dot)gov>
Subject: Removing Users and Revoking Privileges
Date: 2008-02-29 18:12:50
Message-ID: 47C84B22.3010208@noaa.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

To All,

I am running Postgres version 7.4.19.

One thing I wanted to do and have successfully completed is changing the
ownership of a Postgres database and all of its tables to a new owner.
I have also successfully granted access privileges to the new owner.

What I have been unable to do successfully is to remove two users who
should no longer have access to the database or its tables. As super
user postgres, I have attempted to REVOKE access privileges for those
two users, but to no avail. The REVOKE command appears to work and does
not generate an error message, however, upon inspection the two users
remain and continue to have all of the same access privileges they had
before executing the REVOKE command.

I do not know what user originally created the database. I have though
attempted to revoke privileges as not only user postgres, but also as
the new owner of the data base, as well as both of the two users for
which I wish to revoke access privileges.

The two users I want to remove or, at least revoke privileges for, are
also associated with other databases, so I don't believe I can simply do
a DROP USER. If I do that, I may wind up negatively impacting other
Postgres databases.

Let me know, if you have any ideas.

Thanks

Attachment Content-Type Size
Carl_McCalla.vcf text/x-vcard 269 bytes

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Bowlby 2008-02-29 18:28:23 Re: issue with an assembled date field
Previous Message Tom Lane 2008-02-29 18:12:30 Re: partitioning using dblink