Oracle forgot user password operation query DBA Authority ____oracle

Source: Internet
Author: User
Tags dba

If you do not know the password for the System,sys user in Oracle, you can retrieve it as follows:

First, the database is entered as a regular user:
Execute the following command in Sql*plus:
Sql>connect/as Sysdba (can also be connected in the following way: Sql>connect internal)
Sql>alter user sys identified by SYS; (The password for user sys will change to SYS after carriage return)
Similarly, you can change the system password
Sql>alter user system identified by system; (The password for user system will be changed to system) after carriage return

sql> alter user Scott account unlock (Unlock command)

Using the operating system certification

Conn/as SYSDBA

To modify the password for SYS

Test OK under windows

Oracle®database Express Edition Getting Started Guide
10g Release 2 (10.2)

-----------------------------------------------------------------------------------------------------

Enter SELECT * FROM V$pwfile_users with DBA login. You can query which user DBA or SYSDBA permissions.



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.