Oracle database pre-defined account (Sys,system,sysman,dbsnmp,scott)

Source: Internet
Author: User

1. SYS user and System user

With the SYS user login needs to sysdba role login, so when entering the password in the password after adding as SYSDBA.

SYS SYSTEM
Status A super User of Oracle Oracle default system administrator with DBA Authority
Main role Primarily used to maintain system information and manage instances Users, permissions, and storage that are typically used to manage Oracle databases
Login role Only login with SYSDBA or sysoper roles Can only be logged in normal mode
2. Scott Users

SCOTT. is the name of a sample user in the Oracle database. The default password is Tiger, which is used to provide beginners with some simple application examples, but it is locked by default. Therefore, the user should be unlocked first, (Take Stu user as an example)

[SQL]View PlainCopyprint?
    1. Alter user Stu account unlock;

The user's password period will be found after unlocking, so the user will be reset the password.

[SQL]View PlainCopyprint?
    1. Alter user Stu identified by [password set];

This allows the Scott user to use four default tables (Bouns, DEPT, EMP, Salgrade),

3, the password back

Sometimes the password is remembered, what to retrieve, first to use SYS or system users to connect to the data inventory, you can change the other users arbitrarily. As long as the control input sqlplus, the user entered the Oracle login, enter the user name: directly enter the System/as sysdba, do not enter the password, the direct return can connect to the database, and then use the Alter user name identified by password To change the password.

Oracle database pre-defined account (Sys,system,sysman,dbsnmp,scott)

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.