[oracle@wuzj ~]$ sqlplus /nolog
SQL*Plus: Release
Copyright (c)
SQL> conn /as sysdba
Connected
//查看用戶
SQL> select username
USERNAME PASSWORD
USER
MGMT_VIEW
SYS
SYSTEM
DBSNMP FFF
SYSMAN
OUTLN
MDSYS
ORDSYS
EXFSYS
DMSYS BFBA
USERNAME PASSWORD
WMSYS
CTXSYS
ANONYMOUS anonymous
XDB
ORDPLUGINS
SI_INFORMTN_SCHEMA
OLAPSYS
SCOTT F
TSMSYS
BI FA
PM
USERNAME PASSWORD
MDDATA DF
IX
SH
DIP CE
OE
HR
//修改用戶口令 格式 alter user 用戶名 identified by 新密碼;
SQL> alter user system identified by manager;
User altered
//再次查看
SQL> select username
USERNAME PASSWORD
USER
MGMT_VIEW
SYS
SYSTEM D
DBSNMP FFF
SYSMAN
OUTLN
MDSYS
ORDSYS
EXFSYS
DMSYS BFBA
USERNAME PASSWORD
WMSYS
CTXSYS
ANONYMOUS anonymous
XDB
ORDPLUGINS
SI_INFORMTN_SCHEMA
OLAPSYS
SCOTT F
TSMSYS
BI FA
PM
USERNAME PASSWORD
MDDATA DF
IX
SH
DIP CE
OE
HR
SQL>
//現在就可以用此密碼鏈接進行操作了
SQL> connect system/manager
已連接
==========================
另一種修改值的辦法
SQL> alter user system identified by values
用戶已更改
//在試試這個密碼
SQL> connect system/oracle
已連接
//這個密碼就不靈了
SQL> connect system/manager
ERROR:
ORA
From:http://tw.wingwit.com/Article/program/Oracle/201311/19044.html