ユーザ用ツール

サイト用ツール


serverapps:db:postgresql

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
serverapps:db:postgresql [2026/04/27 15:54] – [password変更] hayashiserverapps:db:postgresql [2026/04/27 15:59] (現在) – [password変更] hayashi
行 191: 行 191:
   listen_addresses = '*'   listen_addresses = '*'
      
 +
 +==== 管理者 password変更 ====
 +root(postgres)ユーザのパスワードを変更します。((パスワードは別紙参照))
 +  alter role postgres with password 'xxxxxxxxxxxxxxxxxxxx';
 +  
 +
  
 ----- -----
行 236: 行 242:
 ==== password変更 ==== ==== password変更 ====
 root(postgres)ユーザのパスワードを変更します。((パスワードは別紙参照)) root(postgres)ユーザのパスワードを変更します。((パスワードは別紙参照))
-  alter role postgres with password 'xxxxxxxxxxxxxxxxxxxx';+  # sudo -u postgres psql 
 +  postgres=# alter role postgres with password 'xxxxxxxxxxxxxxxxxxxx';
      
 ==== Role(ユーザ)の追加 ==== ==== Role(ユーザ)の追加 ====
serverapps/db/postgresql.1777305269.txt.gz · 最終更新: by hayashi