In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
The main content of this article is to explain "what are the steps of password reset for Oracle users". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "what are the steps for Oracle user password reset"?
Customers report that the secret ma of Oracle database users will expire. In order to avoid application connection errors caused by expiration, you can find users who are about to expire by cha in advance and reset the secret ma. The steps are as follows:
1. Check whether any secret ma will expire in the next 20 days.
Set lines 200col username for a20select USERNAME,to_char (EXPIRY_DATE,'yyyy-mm-dd hh34:mi:ss') expire_time,profile,account_status from dba_users a where EXPIRY_DATEsysdate and account_status='OPEN'
2. View expired users
Set lines 200col profile for a20col username for a20select USERNAME,to_char (EXPIRY_DATE,'yyyy-mm-dd hh34:mi:ss'), profile,account_status from dba_users where account_status='EXPIRED' or account_status='EXPIRED (GRACE) 'order by EXPIRY_DATE
3. Check the expiration time of open status users.
Set lines 200col profile for a20col username for a20select USERNAME,to_char (EXPIRY_DATE,'yyyy-mm-dd hh34:mi:ss'), profile,account_status from dba_users where account_status='OPEN' order by EXPIRY_DATE
4. View the status of all users
Set lines 200col profile for a20col username for a20select USERNAME,to_char (EXPIRY_DATE,'yyyy-mm-dd hh34:mi:ss'), profile,account_status from dba_users order by EXPIRY_DATE
5. Perform a secret ma reset
Modify profile settin
Alter profile PROFILE_NAME limitpassword_reuse_time unlimitedpassword_reuse_max unlimited
Generate a reset command
Select 'alter user' | | du.username | | 'identified by values' | |''| | u.password | |'| |; 'from dba_users du,user$ u where du.username=u.name and u.type#=1 and du.profile in (' PROFILE_NAME') and du.username'XS$NULL' and du.expiry_date-sysdate
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.