登录数据库服务器,进入oracle用户下
[root@uumsnormal-oracle admin]# su – oracle
[oracle@uumsnormal-oracle ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 – Production on Mon Jan 4 16:08:27 2016
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 – 64bit
Production
With the Partitioning, OLAP and Data Mining options
SQL>
alter user xx account unlock; –xx为你的用户名,解锁
User altered.
SQL>
commit;
Commit complete.
SQL> alter user XX
identified by 用户名的密码; –修改密码