GRANT/REVOKE problems

Started by Marin Dalmost 28 years ago3 messagesgeneral
Jump to latest
#1Marin D
marin@iclub.techno-link.com

Hi!

I cant make grant/revoke work...

An example

test=> \z
...
| test | |
...
test=> REVOKE ALL ON test FROM postgres;
CHANGE
test=> \z

Database    = test
 +------------------+----------------------------------------------------+
 |  Relation        |             Grant/Revoke Permissions               |
 +------------------+----------------------------------------------------+
...
 | test             | {"=r"}                                             |
...
test=> \q

[3:32pm]#su postgres
Password:
bash$ psql test
Welcome to the POSTGRESQL interactive sql monitor:
Please read the file COPYRIGHT for copyright terms of POSTGRESQL

type \? for help on slash commands
type \q to quit
type \g or terminate with semicolon to execute query
You are currently connected to the database: test

test=> insert into test values ('wow!');
INSERT 276704 1
test=>

Any hints?

BTW the version is 6.2.1p6

Thanx for the attention!

Marin

-= Why do we need gates in a world without fences? =-

#2Marin D
marin@iclub.techno-link.com
In reply to: Marin D (#1)
Re: [GENERAL] GRANT/REVOKE problems

It doesnt make difference for postgres user. The result is the same for
any user...

Marin

-= Why do we need gates in a world without fences? =-

Show quoted text

On Mon, 25 May 1998, Jose' Soares Da Silva wrote:

Do you want revoke all previleges from postgres?
Remember that user postgres is the super user.
I think you don't do that.
Jose'

#3Sferacarta Software
sferac@bo.nettuno.it
In reply to: Marin D (#1)
Re: [GENERAL] GRANT/REVOKE problems

On Mon, 25 May 1998, Marin D wrote:

Do you want revoke all previleges from postgres?
Remember that user postgres is the super user.
I think you don't do that.
Jose'

Show quoted text

Hi!

I cant make grant/revoke work...

An example

test=> \z
...
| test | |
...
test=> REVOKE ALL ON test FROM postgres;
CHANGE
test=> \z

Database    = test
+------------------+----------------------------------------------------+
|  Relation        |             Grant/Revoke Permissions               |
+------------------+----------------------------------------------------+
...
| test             | {"=r"}                                             |
...
test=> \q

[3:32pm]#su postgres
Password:
bash$ psql test
Welcome to the POSTGRESQL interactive sql monitor:
Please read the file COPYRIGHT for copyright terms of POSTGRESQL

type \? for help on slash commands
type \q to quit
type \g or terminate with semicolon to execute query
You are currently connected to the database: test

test=> insert into test values ('wow!');
INSERT 276704 1
test=>

Any hints?

BTW the version is 6.2.1p6

Thanx for the attention!

Marin

-= Why do we need gates in a world without fences? =-