Oracle forgets to Sys/system/scott user password solution _mssql

Source: Internet
Author: User

Forget the login password for users other than SYS and system users.

Log on with the SYS (or system) user.

CONN Sys/pass_word as SYSDBA;

Use the following statement to modify the user's password.

ALTER USER user_name identified by Newpass;

Note: Passwords cannot be all numbers. and cannot be the beginning of a number. Otherwise, it will appear: ORA-00988: Password missing or invalid

The forgotten sys user, or the password of the system user.

If you are forgetting the password for the system user, you can log in with the SYS user. Then use the Alter USER's

Modify the password.

CONN Sys//pass_word as SYSDBA;

ALTER USER SYSTEM identified by Newpass;

If you are forgetting the password for the SYS user, you can log on with the system user. Then use the Alter USER's

Modify the password.

CONN System//pass_word;

ALTER USER SYSTEM identified by Newpass;

If the password of the Sys,system user is forgotten or lost.

This is particularly important.

You can use the ORAPWD.EXE tool to modify your password.

Start Menu-> Run-> enter ' CMD ', open a Command Prompt window, enter the following command:

Orapwd File=d:\oracle\product\10.2.0\db_1\database\pwdctcsys.ora

Password=newpass

This command regenerates the password file for the database. The location of the password file is in the Oracle_home directory

In the \database directory.

This password is the password that modifies the SYS user. Passwords for other users except SYS and system will not change.

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.