OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 02-Mar-2006 18:05:00
Branch: HEAD Handle: 2006030217045500
Modified files:
openpkg-src/postgresql postgresql.spec
Log:
improve getting started description even more
Summary:
Revision Changes Path
1.192 +7 -4 openpkg-src/postgresql/postgresql.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/postgresql/postgresql.spec
============================================================================
$ cvs diff -u -r1.191 -r1.192 postgresql.spec
--- openpkg-src/postgresql/postgresql.spec 2 Mar 2006 16:54:22 -0000
1.191
+++ openpkg-src/postgresql/postgresql.spec 2 Mar 2006 17:04:55 -0000
1.192
@@ -645,8 +645,9 @@
echo "you should immediately change this with the following
command:"
echo " \$ $RPM_INSTALL_PREFIX/bin/psql -U $l_pguser -d
template1 \\"
echo " -c \"ALTER USER $l_pguser WITH PASSWORD
'<new-password>'\""
- echo "Then you usually create a database for a user <user> with"
- echo "password <password> under path /u/<user>/rdbms with the
commands:"
+ echo "Then you usually create a database for a user <user>
(assuming that"
+ echo "his home directory is /u/<user>) with password <password>
under"
+ echo "path /u/<user>/rdbms with the commands:"
echo " \$ mkdir /u/<user>/rdbms"
echo " \$ chmod 700 /u/<user>/rdbms"
echo " \$ chown %{l_rusr}:%{l_rgrp} /u/<user>/rdbms"
@@ -657,8 +658,10 @@
echo " template1=> CREATE TABLESPACE <user> OWNER <user>"
echo " LOCATION '/u/<user>/rdbms';"
echo " template1=> CREATE DATABASE <user>"
- echo " \$ echo 'localhost:*:<user>:<user>:<password>'"
- echo " >/home/<user>/.pgpass"
+ echo " \$ echo 'localhost:*:<user>:<user>:<password>'
>>/u/<user>/.pgpass"
+ echo " \$ chmod 600 <user> /u/<user>/.pgpass; chown <user>
/u/<user>/.pgpass"
+ echo "After this the user <user> will be able to connect to his
RDBMS with:"
+ echo " \$ psql"
) | %{l_rpmtool} msg -b -t notice
# optionally link into unixODBC
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]