Microsoft Windows [版本 5.2.3790]
(C) 版权所有 1985-2003 Microsoft Corp.
C:\Documents and Settings\Administrator>sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 8月 4 11:57:30 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
请输入用户名: sys/sys as sysdba
ERROR:
ORA-12560: TNS: 协议适配器错误
请输入用户名: sys/sys as sysdba
连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> conn system/system
ERROR:
ORA-01017: invalid username/password; logon denied
警告: 您不再连接到 ORACLE。
SQL> conn scott/scott
ERROR:
ORA-28000: the account is locked
SQL> conn sys/sys as sysdba
已连接。
SQL> alter user scott account unlock;
用户已更改。
SQL> conn scott/tiger
ERROR:
ORA-28001: the password has expired
更改 scott 的口令
新口令:
重新键入新口令:
口令已更改
已连接。
SQL> conn sys/sys as sysdba;
已连接。
SQL> show user;
USER 为 "SYS"
SQL> conn scott/scott;
已连接。
SQL> alter user system identified by system;
alter user system identified by system
*
第 1 行出现错误:
ORA-01031: 权限不足
SQL> show user;
USER 为 "SCOTT"
SQL> conn sys/sys as sysdba;
已连接。
SQL> alter user system identified by system;
用户已更改。
SQL> conn system/system;
已连接。
SQL>