Forget how Oracle's sys password resets; How to modify the Oracle database user password

Source: Internet
Author: User
Tags administrator password

Reference Blog: http://blog.itpub.net/26015009/viewspace-717505/

Here's one way to do this: Use the ORAPWD.EXE tool to change the password.

Open a Command Prompt window and enter the following command:

Orapwd File=f:\app\administrator\product\11.2.0\dbhome_1\database\pwdoanet.ora password=123456

This command regenerates the database's Password file。 The location of the password file is under the \database directory in the Oracle_home directory. This password is the password that modifies the SYS user. The password for other users except SYS does not change. (1) \database directory under the Oracle_home directory

(2) Pwdoanet.ora

It is the password file of the database instance, one instance corresponds to a file, the administrator password of which database instance to modify, which is generated (note that the original is deleted or renamed before executing the command, or the file already exists)

Generally modify the database user password, you need to first login administrator account, such as Sys

You can then execute the Modify command

Alter User  by the new password;

If the account is locked, you can first log in to the SYS account and then unlock

Alter User

Forget how Oracle's sys password resets; How to modify the Oracle database user password

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.