それマグで!

知識はカップより、マグでゆっくり頂きます。 takuya_1stのブログ

習慣に早くから配慮した者は、 おそらく人生の実りも大きい。

postgresql のコマンドにパスワード変更はない


PostgreSQLのコマンドユーティリティにパスワード変更が見つからなかった。

コマンドはpg_wrapper がイッテに引き受けているのですが、その先を調べても パスワード変更に関するコマンドない模様

postgres@debian00:/var/www$ ls -lt /usr/bin/ | grep pg_wrapper
lrwxrwxrwx 1 root   root         37 2013-04-24 02:25 clusterdb -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root   root         37 2013-04-24 02:25 createdb -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root   root         37 2013-04-24 02:25 createlang -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root   root         37 2013-04-24 02:25 createuser -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root   root         37 2013-04-24 02:25 dropdb -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root   root         37 2013-04-24 02:25 droplang -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root   root         37 2013-04-24 02:25 dropuser -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root   root         37 2013-04-24 02:25 pg_dump -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root   root         37 2013-04-24 02:25 pg_dumpall -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root   root         37 2013-04-24 02:25 pg_restore -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root   root         37 2013-04-24 02:25 psql -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root   root         37 2013-04-24 02:25 reindexdb -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root   root         37 2013-04-24 02:25 vacuumdb -> ../share/postgresql-common/pg_wrapper
lrwxrwxrwx 1 root   root         37 2013-04-24 02:25 vacuumlo -> ../share/postgresql-common/pg_wrapper
postgres@debian00:/var/www$