Skip site navigation (1) Skip section navigation (2)

Passwords in PSQL

From: Rafaqat Ali <smoken0(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Passwords in PSQL
Date: 2005-04-25 06:36:22
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Hello All
        I am using 
                        \c [database] [user-name]
       to connect to any database.
       Any one can connect to any database. If any one knows user
name, he/she connect to db. I want to provide some security that no
one can connect without providing passwords. postgres uses a function
do_coonect() for this perpose. I provide it passwords but it let me
connect to db with any passwords provided. Can any one tell me how to
set passwords for db user. and how can I implement password protection
in psql.


pgsql-hackers by date

Next:From: Gavin SherryDate: 2005-04-25 07:36:42
Subject: Re: Passwords in PSQL
Previous:From: Tom LaneDate: 2005-04-25 05:07:44
Subject: Re: CVS regression test problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group