&tag(PostgreSQL);
*目次 [#m5abe6df]
#contents
*関連ページ [#q38be8ee]
*参考情報 [#ae594a69]

*ユーザー操作 [#pfe1b866]
-デフォルト管理者はpostgres
-ユーザーのパスワードなどは/etc/passwdを利用。
-アクセス制御はpg_hba.confで行う?

** ユーザー登録 [#m53d3adc]

ユーザーの生成は、
デフォルトのデータベースの管理者postgresにsuして(デフォルトでユーザーpostgresにはパスワードが設定されてないのでルートを経由する)、createuserする。

#pre{{
$ su root
# su postgres
$ createuser sora
$ ...allowd create databases? y
$ ...allowed to add users? y
}}

***ユーザー削除 [#ec804ec9]
-destroyuser ユーザー名で削除できる
#pre{{
$ destroyuser sora
}}


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS