修改Oracle用户的密码
SQL> conn scott/tigerERROR:
ORA-28000: the account is locked
警告: 您不再连接到 ORACLE。
SQL>
这是因为用户登录几次后.被Oracle系统锁定了.
这锁定有几个可能.
1.尝试多次登录未成功.(可能密码不正确)
2.此用户被管理员手工锁定.
3.用户密码到期.未按时修改密码.等等...
现在我们用sys用户去修改这个用户.让他可以正常使用.
打开cmd,启动sqlplus,
SQL*Plus: Release 9.2.0.1.0 - Production on 星期六 1月 13 13:53:22 2007
Copyright (c) 1982, 2002, Oracle Corporation.All rights reserved.
#用系统验证,以sys特权用户登录
SQL> conn / as sysdba
已连接。
#解除scott用户的锁
SQL> alter user scott account unlock;
用户已更改。
#修改scott的登录密码
SQL> alter user scott identified by test;
用户已更改。
SQL> conn scott/test
已连接。
页:
[1]