使用sqlplus登陆数据库:
bash-3.00$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.2.0 - Production on Fri Nov 30 16:29:59 2012
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> alter user sys identified by admin;
User altered.
SQL> conn sys/admin as sysdba;
Connected.
SQL> alter user system identified by admin;
User altered.
至此,你就可以使用自己设置的密码登陆数据库了。