当前位置:网站首页>Solutions to Oracle system/ user locking
Solutions to Oracle system/ user locking
2022-06-22 20:33:00 【1024 Q】
Oracle system User locked
Below is how ordinary users unlock
Some easy to use little methods
summary
The article contains how to unlock system Account , How to unlock an ordinary user scott Methods , At the end of the article, there are also some small methods that can solve the problem of forgetting the password and causing the account to be locked . Share with you .
Oracle system User lockedsystem The user is locked , Other users do not have permission to unlock it , What to do at this time ?
Start by opening SQL PLUS

And then execute conn /as sysdba, Log in without entering a password

Login error , Prompt no permission .

Next open 【 Computer management 】, choice 【 Local users and groups 】, an 【 Group 】, find “ora_dba”

Double-click to open , Check whether the user currently logged in to the computer is in the group , If not , select 【 add to 】→【 senior 】→【 Find now 】, Then add the current user , Until then SQL plus Repeat the previous operation in .
Connect Oracle After the server succeeds , perform alter user system account unlock; Come on system User to unlock .

If the user password is forgotten , perform alter user system identified by orcl; take system The user's password is changed to orcl, You can also change it to your own password .

System The account already knows the password , We can go through sys The account login , Unlock ordinary users .
We log in sys Account

After login , stay Recent in , You'll see something called [email protected] The account of , The status is locked .( The grey key has X).

In the left position object In the middle , Find an item in the list as users The option to .

Into the for users After the inside , Select as scott Right click the user . choice Edit.

Open the following interface , stay Password Enter the password you want to change .( Note that the position of the arrow needs to be cancelled - That's unlock !)

Click on Apply. Reopen SQL/PL Sign in .
Some easy to use little methods1、 Usually we meet oracle The user password is entered incorrectly many times , If you change the user, it will become locked , Then the solution is simple , as follows :
Use plsql Tools sys The user login ( Yes dos Command input :sqlplus / as sysdba ) Unlock
ALTER USER user name ACCOUNT UNLOCK;
2、 In this case, the user will be locked , We can set the user password for unlimited attempts to log in , The user will not be locked :
ALTER PROFILE DEFAULT LIMIT FAILED_LOGIN_ATTEMPTS UNLIMITED;
3、 in addition , Small partners engaged in project operation and maintenance often encounter the situation that the database user password has expired , It is troublesome to change the password regularly , Then we can set the user password not to expire :
ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
l Tools sys The user login ( Yes dos Command input :sqlplus / as sysdba ) Unlock
ALTER USER user name ACCOUNT UNLOCK;
2、 In this case, the user will be locked , We can set the user password for unlimited attempts to log in , The user will not be locked :
ALTER PROFILE DEFAULT LIMIT FAILED_LOGIN_ATTEMPTS UNLIMITED;
3、 in addition , Small partners engaged in project operation and maintenance often encounter the situation that the database user password has expired , It is troublesome to change the password regularly , Then we can set the user password not to expire :
summaryALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
This is about Oracle system/ This is the end of the article on user locking , More about Oracle system Users are locked. Please search the previous articles of SDN or continue to browse the following related articles. I hope you can support SDN more in the future !
边栏推荐
- What can the accelerated implementation of digital economy bring to SMEs?
- Async-profiler介绍
- R语言基于h2o包构建二分类模型:使用h2o.glm构建正则化的逻辑回归模型、使用h2o.auc计算模型的AUC值
- Easydss problem and solution summary
- How should programmers look up dates
- An error is reported when idea writes JSP code, but it is solved by normal operation
- ROS从入门到精通(八) 常用传感器与消息数据
- 软件压力测试有哪些方法,如何选择软件压力测试机构?
- MySQL高级(二)
- 密码学系列之:PKI的证书格式表示X.509
猜你喜欢

一张图解码 OpenCloudOS 社区开放日

510000 prize pool invites you to join the war! The second Alibaba cloud ECS cloudbuild developer competition is coming

client-go gin的简单整合十一-Delete

智能计算之神经网络(BP)介绍
Redis持久化的几种方式——深入解析RDB

MySQL基础——约束
![[in depth understanding of tcaplus DB technology] getting started tcaplus SQL driver](/img/2b/3ab5e247ac103728b4d3579c3c5468.png)
[in depth understanding of tcaplus DB technology] getting started tcaplus SQL driver
Gradle Build Cache引发的Task缓存编译问题

Three dimensional world helps the laboratory to consolidate the complete quality system management

芯和半导体“射频EDA/滤波器设计平台”闪耀IMS2022
随机推荐
510000 prize pool invites you to join the war! The second Alibaba cloud ECS cloudbuild developer competition is coming
EasyDSS问题及解决方案汇总
迅睿CMS 自定义数据接口-php执行文件代码
Introduction of neural network (BP) in Intelligent Computing
【深入理解TcaplusDB技术】单据受理之创建业务指南
理财产品在双休日可以赎回吗?
6月第3周B站榜单丨飞瓜数据UP主成长排行榜(哔哩哔哩平台)发布!
Random talk about redis source code onehundredandtwenty
It supports running in kubernetes, adds multiple connectors, and seatunnel version 2.1.2 is officially released!
不断重修的计划与变化
He was in '98. I can't play with him
【Proteus仿真】8x8Led点阵数字循环显示
web技术分享| 【高德地图】实现自定义的轨迹回放
【Proteus仿真】三极管组成的H桥驱动直流电机+按键正反转控制
【深入理解TcaplusDB技术】单据受理之建表审批
什么?你居然不会微信分身
Raspberry pie environment settings
LORA技术---LoRa信号从数据流变为LoRa扩频信号,再从射频信号通过解调变为数据
支持在 Kubernetes 运行,添加多种连接器,SeaTunnel 2.1.2 版本正式发布!
NFT 中可能存在的安全漏洞