ssh登录到VM服务器,执行imoschpasswd.sh命令,然后按照提示输入参数,

如下所示:[root@vmserver vm8500]# imoschpasswd.sh

help info

modify UI login passwd:1

modify DB user postgres passwd:2 quit:q

please give your choice ==>>2

hint info

modify passwd of DB user postgres will restart vm server,do you want to continue (yes/no) ==>>y

please input old passwd of DB user “postgres” (default: passwd) ==>>passwd

please input new passwd of DB user “postgres”(default: passwd) ==>>123456

please input new passwd again of DB user “postgres”(default: passwd) ==>>123456

new passwd of DB user “postgres” is configging….new passwd of DB user “postgres” config successful.[root@vmserver vm8500]#