[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:20533] Re: Postgre-SQL の PASSWD について



吉藤英明@東北大学情報科学です。

In article <389845FF3AC.93E3SHIMADEN@xxxxxxxxxxxxxxx> (at Wed, 2 Feb 2000 23:58:24 +0900), Hiroyuki Shimada <shimaden@xxxxxxxxxxx> says:

> して、それぞれの設定ファイル、次のように追加しました(昔の設定に戻した)。
> 
>     /etc/passwd
>     postgres:x:31:32:postgres:/var/postgres:/bin/sh
私のところでは
      postgres:x:31:32:postgres:/var/lib/postgres:/bin/sh


>     /etc/group
>     postgres:x:32
同じく
      postgres:x:32:


で、

|# apt-get install postgresql
:
|Setting up postgresql-client (6.5.3-10) ...
|
|Setting up postgresql (6.5.3-10) ...
:
:
|Now installing the PostgreSQL database files in /var/lib/postgres/data
|su postgres -c cd /var/lib/postgres; . ./.profile; initdb -e UNICODE -l /usr/lib/postgresql/lib -r /var/lib/postgres/data -u postgres
|
|We are initializing the database system with username postgres (uid=31).
|This user will own all the files and must also own the server process.
|
|Creating Postgres database system directory /var/lib/postgres/data/base
:
|Restarting PostgreSQL postmaster
|No /usr/lib/postgresql/bin/postmaster found running; none killed.
|Starting PostgreSQL postmaster
|UPDATE 0
|UPDATE 1
|
|#

で、ご指摘のようなことはないようです。

-- 
吉藤英明 (YOSHIFUJI,Hideaki)    <yoshfuji@xxxxxxxxxxxxxxxxx>
Web Page: http://www.ecei.tohoku.ac.jp/%7Eyoshfuji/
PGP5i FP: F731 6599 5EB2 BBA7 1515  1323 1806 A96F 5700 6B25