postgresql/src/bin
Marc G. Fournier 3a7c93e7f3 From: Dan McGuirk <mcguirk@indirect.com>
Subject: [HACKERS] password authentication

This patch adds support for plaintext password authentication.  To use
it, you add a line like

host         all         0.0.0.0       0.0.0.0           password  pg_pwd.conf


to your pg_hba.conf, where 'pg_pwd.conf' is the name of a file containing
the usernames and password hashes in the format of the first two fields
of a Unix /etc/passwd file.  (Of course, you can use a specific database
name or IP instead.)

Then, to connect with a password through libpq, you use the PQconnectdb()
function, specifying the "password=" tag in the connect string and also
adding the tag "authtype=password".

I also added a command-line switch '-u' to psql that tells it to prompt
for a username and password and use password authentication.
1997-03-12 21:23:16 +00:00
..
cleardbdir Add dep: rule. 1996-11-24 03:55:19 +00:00
createdb Add empty "dep:" target. 1996-12-10 03:40:23 +00:00
createuser Add empty "dep:" target. 1996-12-10 03:40:23 +00:00
destroydb Add empty "dep:" target. 1996-12-10 03:40:23 +00:00
destroyuser Add empty "dep:" target. 1996-12-10 03:40:23 +00:00
initdb And, make sure that initdb.sh copies the pg_geqo.sample file to 1997-02-19 13:11:58 +00:00
ipcclean Add empty "dep:" target. 1996-12-10 03:40:23 +00:00
pg_dump Substitute defines for numeric constants in type ids. 1997-03-01 15:24:51 +00:00
pg_id Include main Makefile.global first so variables are not over-written. 1997-02-06 02:31:52 +00:00
pg_version Include main Makefile.global first so variables are not over-written. 1997-02-06 02:31:52 +00:00
pgtclsh Add link options for libpq library search. 1997-01-21 05:16:38 +00:00
psql From: Dan McGuirk <mcguirk@indirect.com> 1997-03-12 21:23:16 +00:00
Makefile Eliminate MKDIR, srcdir, objdir. Centralize setting of LIBPQDIR. 1996-11-13 10:36:36 +00:00
Makefile.global Comment out LD_ADD and DPADD 1997-01-15 05:58:47 +00:00