From: H S <aras_h1988@yahoo.com>
To: admin <pgsql-admin@postgresql.org>
Cc: pesfandiar @ gmail.com <pesfandiar@gmail.com>
Subject: ▌►connecting to OS user in the same db
Date: Wed, 6 Apr 2011 20:12:16 -0700 (PDT)
Message-ID: <908096.9504.qm@web65905.mail.ac4.yahoo.com> (raw)
Hi Sirs,
I would like more than one OS user can access the same DB in the same cluster.
For a user like postgres I had these commands:
# adduser postgres
# mkdir /usr/local/pgsql/data
# chown postgres /usr/local/pgsql/data
# su -postgres
$ ./initdb -D /usr/*/data --> here login as an postgres in terminal
$ ./postgres -D /usr/*/data --> here login as an postgres in terminal, too.
So when I want to access or issue the command :
/usr/local/pgsql/bin/psql postgres as an another OS user, what should I do?!
SARA
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: aras_h1988@yahoo.com, pesfandiar@gmail.com
Subject: Re: ▌►connecting to OS user in the same db
In-Reply-To: <908096.9504.qm@web65905.mail.ac4.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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