修改默认为例:
1.Linux环境下 #su postgres $psql -U postgres postgres=#alter user postgres with password ‘new password‘; postgres=#\q
postgresql 帐号密码修改方法
原文:http://www.cnblogs.com/ieayoio/p/5191374.html