SYS的默认密码是change_on_install 如果是oracle92的话,密码在安装之后会提示你修改。
SYS用户密码的修改:
C:\>sqlplus /nolog
SQL*Plus: Release 9.0.1.0.1 - Production on 星期三 7月 2 09:52:22 2008(c) Copyright 2001 Oracle Corporation. All rights reserved.
SQL> conn / as sysdba
已连接。
--方法1
SQL> grant connect to sys identified by aaa;
授权成功。
SQL> grant connect to system identified by manager;
授权成功。
--方法2
SQL> alter user sys identified by bbb;
用户已更改。
SQL> alter user system identified by bbb;
用户已更改。
--方法3
SQL> password system
更改system的口令
新口令:
重新键入新口令:
口令已更改
SQL>
但是password命令不是用于sys用户,按以上方法修改密码后,口令是否生效呢?
我们用刚才的密码测试一下看看:
C:\>sqlplus /nolog
SQL*Plus: Release 9.0.1.0.1 - Production on 星期三 7月 2 09:59:10 2008(c) Copyright 2001 Oracle Corporation. All rights reserved。
| 广告合作:400-664-0084 全国热线:400-664-0084 Copyright 2010 - 2017 www.my8848.com 珠峰网 粤ICP备15066211号 珠峰网 版权所有 All Rights Reserved
|