postgresユーザーのパスワード設定(OSユーザー) passwd postgres postgresユーザーのパスワード設定(PostgreSQLユーザー) su - postgres psql alter role postgres with password 'postgres'; q # systemctl stop postgresql-9.5 # systemctl start postgresql-9.5