Re: Managing Users

From: John Clark Naldoza y Lopez <njclark(at)ntsp(dot)nec(dot)co(dot)jp>
To: Chris Cameron <ccameron(at)powersurfr(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Managing Users
Date: 2001-10-16 07:22:09
Message-ID: 3BCBE021.4600EE3A@ntsp.nec.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Heya Chris,

Chris Cameron wrote:
>
> I'm having a bit of a problem managing users.
>
> I have a database owned by user joe. Joe has a bunch of tables in this
> database and is allowed to create databases but not users. All the
> tables are owned by joe.
> If I create another user without any privledges at all, that user is
> able to (on my system) create tables in any existing databases.
> Including joes database.
>
> Do I have something improperly configured, or is this just the way
> Postgres works? I realize I have little details, but I'm not entirely
> sure whats causing this so I don't know what details to include.
>

That's about right =) You can have different users creating different
tables in the same database...

The users, however, won't be able to access the other users' tables,
unless he or she has been GRANTed access to them =)

Hope that helps.

Cheers,

John Clark

--
/) John Clark Naldoza y Lopez (\
/ ) Software Design Engineer III ( \
_( (_ _ Web-Application Development _) )_
(((\ \> /_> Cable Modem Network Management System <_\ </ /)))
(\\\\ \_/ / NEC Telecom Software Phils., Inc. \ \_/ ////)
\ / \ /
\ _/ phone: (+63 32) 233-9142 loc. 3113 \_ /
/ / cellphone: (+63 919) 399-4742 \ \
/ / email: njclark(at)ntsp(dot)nec(dot)co(dot)jp \ \

"Intelligence is the ability to avoid doing work, yet getting the work
done"
--Linus Torvalds

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Emmanuel SARACCO 2001-10-16 07:36:47 Re: Managing Users
Previous Message Karen Ellrick 2001-10-16 06:35:33 Re: WWW interface for postgres