次にIMPとPHPLIBの設定ファイルに、データベースのパスワードを設定します。
horde/scripts/database/ ディレクトリに移動し、dbpasswd.sh
スクリプトを実行します。
# cd /home/httpd/horde/scripts/database
# sh dbpasswd.sh
his script changes the password for the Horde
database user. It
makes the change to the database itself, and to
the configuration
files used by Horde/IMP to access it. You will
need your database
administrator password, and permission to change
your Horde/IMP
configuration files.
What is your IMP configuration directory [../../imp/config]? [ENTER](impフォルダの名前を変更している場合は適宜変更してください。)
Your IMP configuration file is: ../../imp/config/defaults.php3
It says the database driver is: pgsql
It says the database user name is: hordemgr
It says the old password is: xxxxxx
What is your PHPLIB directory [../../phplib]?
[ENTER]
Your PHPLIB configuration file is: ../../phplib/local.inc
It says the database user name is: hordemgr
Enter the new 'hordemgr' database password:xxxxxx←hordemgrを追加した時のパスワードを入力
Enter the password again to confirm: xxxxxx←再度入力
Change the 'hordemgr' database password now? y
[ENTER]
Changing the database password...
The password change has been made.
以上でパスワードの設定は終了です。