标题 | Oracle解除对SCOTT/TIGER用户的锁定 |
内容 | Oracle 解除对SCOTT/TIGER用户的锁定 1、查证目前系统对于SCOTT用户的状态: select * from dba_users where upper(username)='SCOTT'; ACCOUNT_STATUS:EXPIRED & LOCKED 2、解除对于SCOTT用户的锁定: conn sys/bitservice@ttonline as sysdba; alter user scott account unlock; select * from dba_users where upper(username)='SCOTT'; ACCOUNT_STATUS:EXPIRED 3、连接SCOTT用户: conn scott/tiger@ttonline;提示该用户已经过期,请重新输入新的密码:tiger conn scott/tiger@ttonline;此次可以正常连接此用户。 4、查看SCOTT用户的状态: conn sys/bitservice@ttonline as sysdba; select * from dba_users where upper(username)='SCOTT'; ACCOUNT_STATUS:OPEN |
随便看 |
|
在线学习网考试资料包含高考、自考、专升本考试、人事考试、公务员考试、大学生村官考试、特岗教师招聘考试、事业单位招聘考试、企业人才招聘、银行招聘、教师招聘、农村信用社招聘、各类资格证书考试等各类考试资料。