pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
USERS
8+ messages / 5 participants
[nested] [flat]

* USERS
@ 2002-11-06 09:40  fred <fred@skyturn.net>
  0 siblings, 1 reply; 8+ messages in thread

From: fred @ 2002-11-06 09:40 UTC (permalink / raw)
  To: pgsql-admin

Hello,

I'm new on the list.
I have to use the sgbdr postgres for my work.
Everything is ok 'localy' but I have permissions trouble by tcp.
Is someone now  good docs about the users management whith postgres ?
Thank's a lot for your support.



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: USERS
@ 2002-11-06 10:49  Nick Fankhauser <nickf@ontko.com>
  parent: fred <fred@skyturn.net>
  0 siblings, 1 reply; 8+ messages in thread

From: Nick Fankhauser @ 2002-11-06 10:49 UTC (permalink / raw)
  To: fred <fred@skyturn.net>; pgsql-admin

Fred:

Try following this link to the interactive Doc:
http://www.postgresql.org/idocs/


This link will tell you how to allow tcp/ip access using the pg_hba.conf
file:
http://www.postgresql.org/idocs/index.php?client-authentication.html



This link will tell you how to make sure the server is accepting ip
connections (search for tcpip_socket)
http://www.postgresql.org/idocs/index.php?runtime-config.html



> -----Original Message-----
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of fred
> Sent: Wednesday, November 06, 2002 4:41 AM
> To: pgsql-admin@postgresql.org
> Subject: [ADMIN] USERS
>
>
> Hello,
>
> I'm new on the list.
> I have to use the sgbdr postgres for my work.
> Everything is ok 'localy' but I have permissions trouble by tcp.
> Is someone now  good docs about the users management whith postgres ?
> Thank's a lot for your support.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: USERS
@ 2002-11-06 13:36  fred <fred@skyturn.net>
  parent: Nick Fankhauser <nickf@ontko.com>
  0 siblings, 0 replies; 8+ messages in thread

From: fred @ 2002-11-06 13:36 UTC (permalink / raw)
  To: nickf@ontko.com; +Cc: pgsql-admin

Thank you very much.

I have follow  the instruction.
I start postmaster like that:
pg_ctl start -D /var/lib/pgsql/data/ -l /tmp/pglog

and when I try connect with phpPgsql, I have :
/usr/bin/postmaster child[4749]: starting with (postgres -d16 -v131072 -p 
fred 
in the log file (so i think that the connection is good), but I have :
Access denied.
on phpPgsql web page.
 
my pg_hba.conf:

local      all                                          trust
host         all        127.0.0.1   255.255.255.255     trust
host         all        192.168.0.125   255.255.255.0   password passwords

If you have little time more to help me,
it will be very good.





On Wednesday 6 November 2002 11:49, you wrote:
> Fred:
>
> Try following this link to the interactive Doc:
> http://www.postgresql.org/idocs/
>
>
> This link will tell you how to allow tcp/ip access using the pg_hba.conf
> file:
> http://www.postgresql.org/idocs/index.php?client-authentication.html
>
>
>
> This link will tell you how to make sure the server is accepting ip
> connections (search for tcpip_socket)
> http://www.postgresql.org/idocs/index.php?runtime-config.html
>
> > -----Original Message-----
> > From: pgsql-admin-owner@postgresql.org
> > [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of fred
> > Sent: Wednesday, November 06, 2002 4:41 AM
> > To: pgsql-admin@postgresql.org
> > Subject: [ADMIN] USERS
> >
> >
> > Hello,
> >
> > I'm new on the list.
> > I have to use the sgbdr postgres for my work.
> > Everything is ok 'localy' but I have permissions trouble by tcp.
> > Is someone now  good docs about the users management whith postgres ?
> > Thank's a lot for your support.
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 3: if posting/reading through Usenet, please send an appropriate
> > subscribe-nomail command to majordomo@postgresql.org so that your
> > message can get through to the mailing list cleanly
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: USERS
@ 2002-11-06 13:46  Nick Fankhauser <nickf@ontko.com>
  0 siblings, 2 replies; 8+ messages in thread

From: Nick Fankhauser @ 2002-11-06 13:46 UTC (permalink / raw)
  To: fred <fred@skyturn.net>; +Cc: pgsql-admin

Fred-

I'm not familiar with phppgsql, so I can't help with the specific problem
there, but perhaps someone else on the list can help with the next step. You
do seem to be getting a connection at this point, but are having some sort
of authorization problem in PHP.

You may also want to try the pgsql-php mailing list.

-Nick

> -----Original Message-----
> From: fred [mailto:fred@skyturn.net]
> Sent: Wednesday, November 06, 2002 8:36 AM
> To: nickf@ontko.com
> Cc: pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] USERS
>
>
> Thank you very much.
>
> I have follow  the instruction.
> I start postmaster like that:
> pg_ctl start -D /var/lib/pgsql/data/ -l /tmp/pglog
>
> and when I try connect with phpPgsql, I have :
> /usr/bin/postmaster child[4749]: starting with (postgres -d16 -v131072 -p
> fred
> in the log file (so i think that the connection is good), but I have :
> Access denied.
> on phpPgsql web page.
>
> my pg_hba.conf:
>
> local      all                                          trust
> host         all        127.0.0.1   255.255.255.255     trust
> host         all        192.168.0.125   255.255.255.0   password passwords
>
> If you have little time more to help me,
> it will be very good.
>
>
>
>
>
> On Wednesday 6 November 2002 11:49, you wrote:
> > Fred:
> >
> > Try following this link to the interactive Doc:
> > http://www.postgresql.org/idocs/
> >
> >
> > This link will tell you how to allow tcp/ip access using the pg_hba.conf
> > file:
> > http://www.postgresql.org/idocs/index.php?client-authentication.html
> >
> >
> >
> > This link will tell you how to make sure the server is accepting ip
> > connections (search for tcpip_socket)
> > http://www.postgresql.org/idocs/index.php?runtime-config.html
> >
> > > -----Original Message-----
> > > From: pgsql-admin-owner@postgresql.org
> > > [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of fred
> > > Sent: Wednesday, November 06, 2002 4:41 AM
> > > To: pgsql-admin@postgresql.org
> > > Subject: [ADMIN] USERS
> > >
> > >
> > > Hello,
> > >
> > > I'm new on the list.
> > > I have to use the sgbdr postgres for my work.
> > > Everything is ok 'localy' but I have permissions trouble by tcp.
> > > Is someone now  good docs about the users management whith postgres ?
> > > Thank's a lot for your support.
> > >
> > > ---------------------------(end of
> broadcast)---------------------------
> > > TIP 3: if posting/reading through Usenet, please send an appropriate
> > > subscribe-nomail command to majordomo@postgresql.org so that your
> > > message can get through to the mailing list cleanly
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: you can get off all lists at once with the unregister command
> >     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: USERS
@ 2002-11-06 18:42  Robert Treat <xzilla@users.sourceforge.net>
  parent: Nick Fankhauser <nickf@ontko.com>
  1 sibling, 0 replies; 8+ messages in thread

From: Robert Treat @ 2002-11-06 18:42 UTC (permalink / raw)
  To: nickf@ontko.com; +Cc: fred <fred@skyturn.net>; pgsql-admin

Are you using phpPgAdmin? If so I can help you out with that, just lmk.
In the mean time, look for some FATAL messages in your log file that
might further explain why the connection is failing.

Robert Treat

On Wed, 2002-11-06 at 08:46, Nick Fankhauser wrote:
> Fred-
> 
> I'm not familiar with phppgsql, so I can't help with the specific problem
> there, but perhaps someone else on the list can help with the next step. You
> do seem to be getting a connection at this point, but are having some sort
> of authorization problem in PHP.
> 
> You may also want to try the pgsql-php mailing list.
> 
> -Nick
> 
> > -----Original Message-----
> > From: fred [mailto:fred@skyturn.net]
> > Sent: Wednesday, November 06, 2002 8:36 AM
> > To: nickf@ontko.com
> > Cc: pgsql-admin@postgresql.org
> > Subject: Re: [ADMIN] USERS
> >
> >
> > Thank you very much.
> >
> > I have follow  the instruction.
> > I start postmaster like that:
> > pg_ctl start -D /var/lib/pgsql/data/ -l /tmp/pglog
> >
> > and when I try connect with phpPgsql, I have :
> > /usr/bin/postmaster child[4749]: starting with (postgres -d16 -v131072 -p
> > fred
> > in the log file (so i think that the connection is good), but I have :
> > Access denied.
> > on phpPgsql web page.
> >
> > my pg_hba.conf:
> >
> > local      all                                          trust
> > host         all        127.0.0.1   255.255.255.255     trust
> > host         all        192.168.0.125   255.255.255.0   password passwords
> >
> > If you have little time more to help me,
> > it will be very good.
> >
> >
> >
> >
> >
> > On Wednesday 6 November 2002 11:49, you wrote:
> > > Fred:
> > >
> > > Try following this link to the interactive Doc:
> > > http://www.postgresql.org/idocs/
> > >
> > >
> > > This link will tell you how to allow tcp/ip access using the pg_hba.conf
> > > file:
> > > http://www.postgresql.org/idocs/index.php?client-authentication.html
> > >
> > >
> > >
> > > This link will tell you how to make sure the server is accepting ip
> > > connections (search for tcpip_socket)
> > > http://www.postgresql.org/idocs/index.php?runtime-config.html
> > >
> > > > -----Original Message-----
> > > > From: pgsql-admin-owner@postgresql.org
> > > > [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of fred
> > > > Sent: Wednesday, November 06, 2002 4:41 AM
> > > > To: pgsql-admin@postgresql.org
> > > > Subject: [ADMIN] USERS
> > > >
> > > >
> > > > Hello,
> > > >
> > > > I'm new on the list.
> > > > I have to use the sgbdr postgres for my work.
> > > > Everything is ok 'localy' but I have permissions trouble by tcp.
> > > > Is someone now  good docs about the users management whith postgres ?
> > > > Thank's a lot for your support.
> > > >
> > > > ---------------------------(end of
> > broadcast)---------------------------
> > > > TIP 3: if posting/reading through Usenet, please send an appropriate
> > > > subscribe-nomail command to majordomo@postgresql.org so that your
> > > > message can get through to the mailing list cleanly
> > >
> > > ---------------------------(end of broadcast)---------------------------
> > > TIP 2: you can get off all lists at once with the unregister command
> > >     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> >
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org






^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: USERS
@ 2002-11-07 08:10  fred <fred@skyturn.net>
  parent: Nick Fankhauser <nickf@ontko.com>
  1 sibling, 0 replies; 8+ messages in thread

From: fred @ 2002-11-07 08:10 UTC (permalink / raw)
  To: nickf@ontko.com; +Cc: pgsql-admin

Thank you very mutch.


On Wednesday 6 November 2002 14:46, Nick Fankhauser wrote:
> Fred-
>
> I'm not familiar with phppgsql, so I can't help with the specific problem
> there, but perhaps someone else on the list can help with the next step.
> You do seem to be getting a connection at this point, but are having some
> sort of authorization problem in PHP.
>
> You may also want to try the pgsql-php mailing list.
>
> -Nick
>
> > -----Original Message-----
> > From: fred [mailto:fred@skyturn.net]
> > Sent: Wednesday, November 06, 2002 8:36 AM
> > To: nickf@ontko.com
> > Cc: pgsql-admin@postgresql.org
> > Subject: Re: [ADMIN] USERS
> >
> >
> > Thank you very much.
> >
> > I have follow  the instruction.
> > I start postmaster like that:
> > pg_ctl start -D /var/lib/pgsql/data/ -l /tmp/pglog
> >
> > and when I try connect with phpPgsql, I have :
> > /usr/bin/postmaster child[4749]: starting with (postgres -d16 -v131072 -p
> > fred
> > in the log file (so i think that the connection is good), but I have :
> > Access denied.
> > on phpPgsql web page.
> >
> > my pg_hba.conf:
> >
> > local      all                                          trust
> > host         all        127.0.0.1   255.255.255.255     trust
> > host         all        192.168.0.125   255.255.255.0   password
> > passwords
> >
> > If you have little time more to help me,
> > it will be very good.
> >
> > On Wednesday 6 November 2002 11:49, you wrote:
> > > Fred:
> > >
> > > Try following this link to the interactive Doc:
> > > http://www.postgresql.org/idocs/
> > >
> > >
> > > This link will tell you how to allow tcp/ip access using the
> > > pg_hba.conf file:
> > > http://www.postgresql.org/idocs/index.php?client-authentication.html
> > >
> > >
> > >
> > > This link will tell you how to make sure the server is accepting ip
> > > connections (search for tcpip_socket)
> > > http://www.postgresql.org/idocs/index.php?runtime-config.html
> > >
> > > > -----Original Message-----
> > > > From: pgsql-admin-owner@postgresql.org
> > > > [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of fred
> > > > Sent: Wednesday, November 06, 2002 4:41 AM
> > > > To: pgsql-admin@postgresql.org
> > > > Subject: [ADMIN] USERS
> > > >
> > > >
> > > > Hello,
> > > >
> > > > I'm new on the list.
> > > > I have to use the sgbdr postgres for my work.
> > > > Everything is ok 'localy' but I have permissions trouble by tcp.
> > > > Is someone now  good docs about the users management whith postgres ?
> > > > Thank's a lot for your support.
> > > >
> > > > ---------------------------(end of
> >
> > broadcast)---------------------------
> >
> > > > TIP 3: if posting/reading through Usenet, please send an appropriate
> > > > subscribe-nomail command to majordomo@postgresql.org so that your
> > > > message can get through to the mailing list cleanly
> > >
> > > ---------------------------(end of
> > > broadcast)--------------------------- TIP 2: you can get off all lists
> > > at once with the unregister command (send "unregister
> > > YourEmailAddressHere" to majordomo@postgresql.org)



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* users
@ 2003-06-10 13:53  Julian <mojulu@arnet.com.ar>
  0 siblings, 1 reply; 8+ messages in thread

From: Julian @ 2003-06-10 13:53 UTC (permalink / raw)
  To: pgsql-admin

Hi all, i'm new in postgres and this question may be very easy, but i need 
to do this so here it goes.
I have one user in my database, and i need to create 10 more users to 
connect to de database but they must use the tables defined in the first 
user but i can not use user.table. how can i do this? is there synonyms in 
postgres?
thanks in advanced, Julian de Anquin





^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: users
@ 2003-06-11 19:37  Bruno Wolff III <bruno@wolff.to>
  parent: Julian <mojulu@arnet.com.ar>
  0 siblings, 0 replies; 8+ messages in thread

From: Bruno Wolff III @ 2003-06-11 19:37 UTC (permalink / raw)
  To: Julian <mojulu@arnet.com.ar>; +Cc: pgsql-admin

On Tue, Jun 10, 2003 at 10:53:50 -0300,
  Julian <mojulu@arnet.com.ar> wrote:
> Hi all, i'm new in postgres and this question may be very easy, but i need 
> to do this so here it goes.
> I have one user in my database, and i need to create 10 more users to 
> connect to de database but they must use the tables defined in the first 
> user but i can not use user.table. how can i do this? is there synonyms in 
> postgres?

You can add the 10 users to a group and give appropiate access to the
group to tables and schemas. You could set the default search path to
the database to include the schema that has the tables in them.
You will want to warn the people that creating tables with names matching
those in the above schema might cause some problems if they aren't
careful.



^ permalink  raw  reply  [nested|flat] 8+ messages in thread


end of thread, other threads:[~2003-06-11 19:37 UTC | newest]

Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-11-06 09:40 USERS fred <fred@skyturn.net>
2002-11-06 10:49 ` Nick Fankhauser <nickf@ontko.com>
2002-11-06 13:36   ` fred <fred@skyturn.net>
2002-11-06 13:46 Re: USERS Nick Fankhauser <nickf@ontko.com>
2002-11-06 18:42 ` Robert Treat <xzilla@users.sourceforge.net>
2002-11-07 08:10 ` fred <fred@skyturn.net>
2003-06-10 13:53 users Julian <mojulu@arnet.com.ar>
2003-06-11 19:37 ` Re: users Bruno Wolff III <bruno@wolff.to>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox