A user is also called as schema/owner
User can able to connect to database through the ‘custom schema’
All data base objects like views, indexes, tables, etc,… can be created under a schema
Customers can be able to connect to the database through the schema/ owner
How to create a user?
Create user username identified by password
How to lock a user?
Alter user username account lock
How to unlock a user?
Alter user username account unlock
We have created user but still its not completed, we should grant permissions to the user
Grant connect to username
Grant resource to username
Grant create session to username
Now the permissions was granted now the user is active
To delete any user: drop user username
To change password to the user
Alter user username identified by password
To check password expires
Dba profile
The password expires in 15 days 30 days 45 days 2/6 months /never
Comments
Post a Comment