Creating Users

Previous
Previous
Next
Next

You create users with the Create Database User page in the Oracle Database XE graphical user interface. Before creating a user, determine the following:

Example: Creating a User

Suppose you want to create a user account for a database application developer named Nick. Because Nick is a developer, you want to grant him all CREATE system privileges so that he can create the schema objects that his applications require. In addition, you want to create his account with the password "firesign."

To create the user Nick:

  1. Access the Database Home Page.

    See "Accessing the Database Home Page" for instructions.

  2. Click the Administration icon, and then click the Database Users icon.

  3. If prompted for administrator credentials, enter the SYSTEM user name and password or another administrator user name and password, and then click Login.

    See "About Administrative Accounts and Privileges" for more information.

  4. On the Manage Database Users page, click Create.

    Description of manage_database_users.gif follows
    Description of the illustration manage_database_users.gif

    The Create Database User page appears.

    Description of create_database_user.gif follows
    Description of the illustration create_database_user.gif

  5. Enter user information into text fields as follows (all fields are case-insensitive):

    • In the Username field, enter nick.

    • In the Password and Confirm Password fields, enter firesign.

    Note that database passwords may not contain spaces, may not contain SQL keywords, and must use only characters in the database character set.

  6. Grant all create object system privileges by clicking Check All at the lower right-hand corner of the User Privileges box.

  7. Before finishing, note the following:

    • The CONNECT and RESOURCE roles are selected by default.

      See "User Privileges and Roles" for information about these roles.

    • The DBA role is by default not selected. This is correct for Nick, because you do not want to give him DBA privileges, which include the ability to create schema objects in other users' schemas, and to create other users.

    • The Account Status list defaults to Unlocked. This means that the user can log in with this account. Because you want Nick to be able to log in, you accept this default.

      See "Locking and Unlocking User Accounts" for more information.

  8. Click Create.

    The Manage Database Users page reappears and displays a confirmation that the user was created.


See Also:

"Altering Users"