Linux上のユーザpostgresのパスワードとデータベース上のユーザpostgresのパスワードは別物である。
Linux上のパスワードは
# passwd postgres
で設定できるし、
データベース上のパスワードは
testdb=# ALTER USER postgres WITH PASSWORD 'パスワード';
で設定できる。
データベース tappe
Linux上のユーザpostgresのパスワードとデータベース上のユーザpostgresのパスワードは別物である。
Linux上のパスワードは
# passwd postgres
で設定できるし、
データベース上のパスワードは
testdb=# ALTER USER postgres WITH PASSWORD 'パスワード';
で設定できる。
コメントを残す