mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-28 15:40:14 +00:00
Default user to davical_dba & provide more help regarding .pgpass files.
This commit is contained in:
parent
33a1a78490
commit
b966686a71
@ -15,7 +15,7 @@ use Getopt::Long qw(:config permute); # allow mixed args.
|
||||
my $debug = 0;
|
||||
my $dbname = "davical";
|
||||
my $dbport = 5432;
|
||||
my $dbuser = "";
|
||||
my $dbuser = "davical_dba";
|
||||
my $dbpass = "";
|
||||
my $dbhost = "";
|
||||
my $appuser = "davical_app";
|
||||
@ -446,7 +446,13 @@ the correct minimum permissions for the web application user.
|
||||
|
||||
Rather than providing a password on the command-line it is recommended
|
||||
that you use a .pgpass file in your home directory to hold the database
|
||||
password. This file must be mode 600 to work.
|
||||
password. This file must be mode 600 to work and should have lines
|
||||
like:
|
||||
|
||||
hostname:port:database:username:password
|
||||
|
||||
Each bit can be replaced by an asterisk, e.g:
|
||||
*:*:davical:davical_dba:53cr3t
|
||||
|
||||
OPTHELP
|
||||
exit 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user