From 1b80b6da6a9bdf61199a9c7b58c12e9d68a4c9db Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 24 Jun 2004 19:26:59 +0000 Subject: Add --pwfile option to initdb, so that passwords can be set by GUI tools that aren't able to feed the password to initdb's /dev/tty. Magnus Hagander --- doc/src/sgml/ref/initdb.sgml | 12 +++++++++++- doc/src/sgml/runtime.sgml | 8 ++++---- 2 files changed, 15 insertions(+), 5 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/initdb.sgml b/doc/src/sgml/ref/initdb.sgml index 189a4279778..7cd0e699a98 100644 --- a/doc/src/sgml/ref/initdb.sgml +++ b/doc/src/sgml/ref/initdb.sgml @@ -1,5 +1,5 @@ @@ -185,6 +185,16 @@ PostgreSQL documentation + + + + + + Makes initdb read the database superuser's password + from a file. The first line of the file is taken as the password. + + + diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index 59d59a5e6f0..ae312e01c37 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,5 +1,5 @@ @@ -121,9 +121,9 @@ postgres$ initdb -D /usr/local/pgsql/data However, while the directory contents are secure, the default client authentication setup allows any local user to connect to the database and even become the database superuser. If you do not - trust other local users, we recommend you use - initdb's or - option to assign a password to the + trust other local users, we recommend you use one of + initdb's , + or option to assign a password to the database superuser.passwordof the superuser After initdb, modify the pg_hba.conf file to use md5 or -- cgit v1.2.3