How to retrieve lost passwords for all Oracle users

Source: Internet
Author: User

How to retrieve lost passwords for all Oracle users:

Method One:
1. Log in as an operating system verified
Sql>conn/as Sysdba;
2. View the user name in the system.
Sql>select USERNAME from Dba_users;
3. Find the user name you need to change
4. Modify the password for the user name.
Sql>alter user user_name identified by passwd;

Method Two:
Rebuild the password file, and then restart the database
The following are the specific practices:
(1) Change the NTS of Sqlnet.ora directly to none, then execute ALTER user sys identitied by "123456" with Conn/as sysdba login
(2) Execution orapwd File=f:/pwdtest.ora password=123456 entries=10
Place the Pwdtest.ora under the F-disk under Oracle_home/database to replace the previous password file.
Then the landing will be OK.

The PS:pwdtest.ora file naming method is as follows:
PWD <sid>.ora

How to retrieve lost passwords for all Oracle users

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.