Create user authorization and Change Password in Oracle

Source: Internet
Author: User

This article describes how to create a user authorization and change a password in Oracle, including creating a user first, then logging on to the user and authorizing and changing the password. I hope this article will help you understand how to create user authorization in Oracle.

After 10 Gb of Oracle, log in with the default username and password scott/tiger/orcl to create a new user and use Oracle to create user authorization:

 
 
  1. create user test1 identified by test1;  
  2. grant connect,resource to test1; 

Log in with test1:

 
 
  1. sqlplus test1/test1 

First, log on with the Administrator account (you must have the permission to modify the user) system

 
 
  1. Alter UserSys identifiedBy123; (sys is the user name, 123 is the password)

If you log on with sys:

 
 
  1. connect sys/oralce as sysdba; 

Log On with system:

 
 
  1. connect system/oracle; 

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.