Re: permissions

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Roger Koot <roger(at)solidair(dot)nl>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: permissions
Date: 2003-02-22 02:10:29
Message-ID: Pine.LNX.4.44.0302220301100.2067-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Roger Koot writes:

> su - postgres
> createuser -d -a -w test
> createdb -U test test1
> createuser -U test -D -A -w user1
> createuser -U test -D -A -w user2
> ...
> createuser -U test -D -A -w user10
> psql -U test -d test1
> create group users with user user1;
> create group users with user user2;
> ..
> create group users with user user10;
> create table table1 ( val1 varchar(40, val2 text, val3 char(2));
> grant all on table1 to group users;

Check the errors produced by your commands. For example, the repeated
create group commands will fail because the group already exists.
Possibly you also missed some other problems this way.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2003-02-22 02:10:38 Re: How to update rows from a cursor in PostgreSQL
Previous Message Peter Eisentraut 2003-02-22 02:10:18 Re: regexp question