1
Using the PostgreSQL database with GNU Enterprise
2
=========================================================
5
Setting up the permissions on the database server
6
-------------------------------------------------
8
NOTE: This is the quick and dirty way, granting full, passwordless access to a
9
given host or subnet. You most probably don't want this in production
10
environments. Please refer to your PostgreSQL documentation for setting up
11
access permissions properly.
13
For the quick and dirty "full access" configuration, edit the file
14
/etc/postgresql/pg_hba.conf and set host, db or user to 'trust'.
16
To grant 'trusted' (full) access from the local host add a line like:
18
host all all 127.0.0.1 255.255.255.255 trust
20
To grant 'trusted' (full) acces from the LAN 192.168.32.*
22
host all all 192.168.32.0 255.255.255.0 trust