~ubuntu-branches/ubuntu/hardy/gnue-common/hardy

« back to all changes in this revision

Viewing changes to doc/hints.postgresql.txt

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Mitchell
  • Date: 2005-03-09 11:06:31 UTC
  • Revision ID: james.westby@ubuntu.com-20050309110631-8gvvn39q7tjz1kj6
Tags: upstream-0.5.14
ImportĀ upstreamĀ versionĀ 0.5.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Using the PostgreSQL database with GNU Enterprise
 
2
=========================================================
 
3
 
 
4
 
 
5
Setting up the permissions on the database server
 
6
-------------------------------------------------
 
7
 
 
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.
 
12
 
 
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'.
 
15
 
 
16
To grant 'trusted' (full) access from the local host add a line like:
 
17
 
 
18
  host  all  all  127.0.0.1     255.255.255.255  trust
 
19
 
 
20
To grant 'trusted' (full) acces from the LAN 192.168.32.*
 
21
 
 
22
  host  all  all  192.168.32.0  255.255.255.0    trust