==#su postgres== ======-bash-3.2$psql - postgres== ======postgres=#alter user postgres with password 'new password';== ==////====一定要加分号执行========postgres=#\q== su - postgres psql -U postgresalter user postgres with encrypted password '1';