You can create a new user using the same interface by accessing the create database user. Users have privileges that they carry with their Username and Password. Their password may have to be set to expire in some cases and/or they may have limited roles. These have to be pinned down before you create a user. For Oracle 10G XE the following points need to be defined before you contemplate creating a new user.
Creating a User Account Example 1 One of your users, Jay, accesses the database and creates some tables, queries, and so forth in his own schema. This means he needs access to the resources and he has a password that you have assigned, "xfiles," set to expire. The next screen shown how this can be set. At first, you get to one of the screens we have seen earlier shown next.
Now click on the Create button to open the window shown in the next picture.
This window shows two main areas, Create Database User and User Privileges. The user has RESOURCE and CONNECT roles. Enter "jay" for the Username, "xfiles" for the Password, and confirm it (both are case sensitive). You can also check the Expire Password checkbox and grant privileges to all objects by clicking the hyperlink Check All at the bottom right. You leave the Account Status Unlocked so that Jay can get in by logging in. Now you click on the create button on this page which opens the next window as shown.
Now you see that Jay is added to the Database Users with an already expired password. It also says the user was created about a second ago. Now log out of the database by clicking on the Logout hyperlink at the top right of this window. This will bring you to a screen that shows you logged out. This screen also has a hyper link Login to login with some credentials. Click on the hyperlink to open the login screen again. Now let's pretend you are Jay. Remember that you were assigned the pair "jay" and "xfiles" for Username/Password. Enter these and click on the login button. You will see the following screen where you need to choose a new password.
Use "xfiles" for your Old Password and choose another for your new password. Click on Apply Changes. You will see that you succeeded in changing the password.
Now "jay" can login with the new password he chose and gets to see his schema objects as shown (which happens to be empty for now).
blog comments powered by Disqus |