From robson-martins@bol.com.br Wed Jul 24 18:54:59 2002 Received: from seki.bol.com.br (seki.bol.com.br [200.221.24.26]) by postgresql.org (Postfix) with ESMTP id 47B1E47590B for ; Wed, 24 Jul 2002 14:54:59 -0400 (EDT) Received: from desenvolv (200.221.24.192) by seki.bol.com.br (5.1.071) id 3D3862CD0012F0AF for pgsql-admin@postgresql.org; Wed, 24 Jul 2002 15:54:34 -0300 Message-ID: <007201c23343$bf144fc0$3a3c620a@catnet.com.br> From: "Robson Martins" To: Subject: re-REVOKE Date: Wed, 24 Jul 2002 15:55:40 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_006F_01C2332A.8F4C9900" X-Priority: 1 X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Sender-IP: 200.245.222.20 X-Archive-Number: 200207/349 X-Sequence-Number: 5033 This is a multi-part message in MIME format. ------=_NextPart_000_006F_01C2332A.8F4C9900 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable The REVOKE did not function.=20 I have an user 27, when I execute commando below, the user does not lose th= e rights.=20 REVOKE ALL PRIVILEGES ON capitais FROM "27" ; table capitais: ACL is {"=3D","27=3DarwR",martins=3DarwR"} What I must make?=20 Regards. ------=_NextPart_000_006F_01C2332A.8F4C9900 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
  The REVOKE did not function.= =20 I=20 have an user 27, when I execute commando below, the user does not lose the= =20 rights.
REVOKE=20 ALL PRIVILEGES ON capitais FROM "27" ; table=20 capitais: ACL is {"=3D","27=3DarwR",martins=3DarwR"} What=20 I must make?   Regards. ------=_NextPart_000_006F_01C2332A.8F4C9900-- From tgl@sss.pgh.pa.us Wed Jul 24 20:46:11 2002 Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 7EE14475876 for ; Wed, 24 Jul 2002 16:46:11 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g6OKk9Vk013775; Wed, 24 Jul 2002 16:46:10 -0400 (EDT) To: "Robson Martins" Cc: pgsql-admin@postgresql.org Subject: Re: re-REVOKE In-reply-to: <007201c23343$bf144fc0$3a3c620a@catnet.com.br> References: <007201c23343$bf144fc0$3a3c620a@catnet.com.br> Comments: In-reply-to "Robson Martins" message dated "Wed, 24 Jul 2002 15:55:40 -0300" Date: Wed, 24 Jul 2002 16:46:09 -0400 Message-ID: <13774.1027543569@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200207/350 X-Sequence-Number: 5034 "Robson Martins" writes: > I have an user 27, when I execute commando below, the user does not lose th= > e rights.=20 > REVOKE ALL PRIVILEGES ON capitais FROM "27" ; > table capitais: ACL is {"=3D","27=3DarwR",martins=3DarwR"} Do you actually have a user named "27"? I'm thinking this is an instance of a privilege for a user who used to have sysid 27 but has been removed. The privilege entry is still there, but is listed with the numeric sysid because the system cannot find a name to display for it. You can ignore the privilege item since it's nonfunctional (can't ever be used). Or you can create a user with sysid 27 (read the CREATE USER man page), then REVOKE using that username, and finally drop the user again. regards, tom lane