当前位置:网站首页>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 !
边栏推荐
- An IPFs enabled email - skiff
- Three months of self-taught automatic test, salary from 4.5K to 15K, who knows what I have experienced?
- Recv function with timeout
- [deeply understand tcapulusdb technology] tcapulusdb table management - modify table
- 【Proteus仿真】NE555延时电路
- MySQL基础——约束
- [in depth understanding of tcapulusdb technology] getting started with MySQL driver
- AAAI 2022 | traditional Gan can be interpreted after modification, and the interpretability of convolution kernel and the authenticity of generated image are guaranteed
- Possible security vulnerabilities in NFT
- 科技云报道:东数西算不止于“算”,更需“新存储”
猜你喜欢

Classic interview question: a page from entering URL to rendering process

【深入理解TcaplusDB技术】查看TcaplusDB线上运行情况

EasyDSS问题及解决方案汇总

手把手教你IDEA创建SSM项目结构

Introduction to async profiler

一张图解码 OpenCloudOS 社区开放日

What can the accelerated implementation of digital economy bring to SMEs?

web技术分享| 【高德地图】实现自定义的轨迹回放

One picture decoding opencloudos community open day
![[compréhension approfondie de la base de connaissances tcaplusdb] déploiement de la version locale de tcaplusdb FAQ](/img/2b/3ab5e247ac103728b4d3579c3c5468.png)
[compréhension approfondie de la base de connaissances tcaplusdb] déploiement de la version locale de tcaplusdb FAQ
随机推荐
Random talk on redis source code 119
【已解决】--go_out: protoc-gen-go: Plugin failed with status code 1.
[deeply understand tcapulusdb technology] create a game area for document acceptance
[deeply understand tcapulusdb technology] create a game zone
【深入理解TcaplusDB技术】TcaplusDB 表管理——清理表
Web technology sharing | [Gaode map] to realize customized track playback
DynamicDatabaseSource,在应用端支持数据库的主从
一张图解码 OpenCloudOS 社区开放日
【Proteus仿真】三极管组成的H桥驱动直流电机+按键正反转控制
Heap sort (principle plus code)
[deeply understand tcapulusdb technology] tcapulusdb table management - rebuild table
ROS从入门到精通(八) 常用传感器与消息数据
智能计算之神经网络(Hopfield网络-DHNN,CHNN )介绍
Introduction of neural networks for Intelligent Computing (Hopfield network DHNN, CHNN)
Oh, my God, it's a counter attack by eight part essay
Cloud computing in the metauniverse to enhance your digital experience
如何低成本快速搭建企业知识库?
[in depth understanding of tcaplus DB technology] Introduction to tcaplus JDBC development
Using span method to realize row merging of multi-layer table data
A Dynamic Near-Optimal Algorithm for Online Linear Programming