Re: User rights

From: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
To: ebmb <ebmb(at)hotmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: User rights
Date: 2007-05-12 22:05:37
Message-ID: 20070512220537.GC58786@nasby.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, May 09, 2007 at 12:43:55PM -0700, ebmb wrote:
> Hello all,
> I'm a MySQL user and trying to migrate some applications to
> PostgreSQL 8.1.9. My first question is about Postgre administration...
>
> I would like to know if is possible to revoke users access to
> commands like "\l, \du, \dn". In MySQL, limited users cannot see other
> users (like root, for example) and other databases (like mysql, for
> example). Is it possible in Postgre?

Take a look at the setting db_user_namespace; it might help. You *might*
be able to get away with revoking select on pg_database, though you'd
have to do it in every database. Of course you'll want to fully
understand pg_hba.conf as well.

When it comes to schemas, I think you're pretty much out of luck.
--
Jim Nasby jim(at)nasby(dot)net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jim C. Nasby 2007-05-12 22:16:25 Re: increasing of the shared memory does not solve the problem of "OUT of shared memory"
Previous Message Srinivas Kotapally 2007-05-12 20:43:29 Re: Moving data directory