Grant, view, and manage user permissions in the Oracle System (note) (4)

Source: Internet
Author: User

Note:
1. When Oracle8.1.6 is installed in WIN2000 to create a database, a credential retrieval failure error often occurs. This is because Oracle cannot apply OS authentication results. You can modify sqlnet. AUTHENTICATION _ SERVICES in SQLNET. ora to NONE. In this case, Oracle uses Password File authentication.
2. Since Oracle has several pre-built users, it is best to change the passwords of these users immediately after the installation is complete. The default passwords are internal/oracle, sys/change_on_install, and system/manager.

3. When selecting the password file authentication method, you can add another super user to the system. For example, use the following statement to add SCOTT to a Super User: (executed by a person with sysdba permissions)
SQL> GRANT SYSDBA TO SCOTT; then the SCOTT user has the sysdba permission. Note: At this time, SCOTT users can log on as scott and SYS. When SCOTT does not enter as sysdba during logon, SCOTT is logged on AS a common user. When the as sysdba is entered during logon, the user that SCOTT logs on to is actually sys.

4. the username with sysdba permission in the current system can be queried from the data dictionary view v $ pwfile_user:
SELECT * from v $ PWFILE_USERS; as shown in.
5. the maximum number of users with sysdba permissions in the system is determined by the ENTRIES parameter when the password file is created. To create more users with sysdba permissions, You need to delete the original password file and recreate one. In this case, you need to close the database, delete the password file, re-create a new password file, and enter a large enough number in entries. Start Oracle again. At this time, all original North authorized Super Users no longer exist, and need to be re-authorized. Therefore, before re-creating the password file, you must first query the view, write down the user name, and then re-authorize after creating the password file.
6. How to Deal with the password forgotten by Internal:
There are two methods:
1. Alter user SYS identified by new password; // This also changes the internal password, which is passed in Oracle8i
2. Create a new password file and specify a new password.

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.