Re: problem with databases

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>
Cc: pgsql-general(at)postgresql(dot)org, olly(at)linda(dot)lfix(dot)co(dot)uk
Subject: Re: problem with databases
Date: 2000-04-26 06:03:09
Message-ID: 200004260603.e3Q639F08609@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Martin A. Marques" wrote:
>I'm trying to get IMP to work, and I need to create 2 databases which I have
>problems creating.
>What I get is this:
>
>GRANT SELECT, INSERT, UPDATE ON active_sessions, auth_user, auth_user_md5 TO
> nobody;
>ERROR: aclparse: non-existent user "nobody"
>
>I don't know how to add the user nobody to grant him with permission to
>connect to the horde database.

CREATE USER nobody NOCREATEDB NOCREATEUSER

I don't think there is any easy way to give a user access to a whole
database, except by granting permission on each object separately.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP key from public servers; key ID 32B8FAA1
========================================
"Submit yourselves therefore to God. Resist the devil,
and he will flee from you." James 4:7

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Elphick 2000-04-26 06:10:01 Re: Having trouble getting readline functional in psql
Previous Message Jeffrey 2000-04-26 05:48:57 Re: