From the course: Oracle Database 12c: Security
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Grant and evoke system privileges - Oracle Database Tutorial
From the course: Oracle Database 12c: Security
Grant and evoke system privileges
- [Instructor] As you saw in the previous video, simply creating new Oracle database users is not enough, as these users have no permissions by default. They cannot even connect to the database. So, our next step would be to assign permissions to users using the Oracle grant command. With the grant command, we can both assign roles, which are groups of permissions, as well as individual permissions to perform certain actions and specific permissions on individual database objects. We'll see all of that in action in this video. So, let's start with something basic. Let's connect to our orcl pluggable database and grant the user1 user, which we created in our previous video, permissions to connect to the database. A good place to start. So, I'll type sqlplus sys/oracle at orcl as sysdba. Connecting with the sysdba superuser to our orcl pluggable database. And then type grant create session to user1. Create session is the special system privilege that allows a user to connect to the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
Users, schemas, and the SYSDBA5m
-
(Locked)
Create new database users6m 34s
-
(Locked)
Grant and evoke system privileges8m 4s
-
(Locked)
Grant database-wide system privileges6m 2s
-
(Locked)
Tablespace quotas5m 37s
-
(Locked)
Object permissions7m 39s
-
(Locked)
Password management policies7m 50s
-
(Locked)
The WITH GRANT and WITH ADMIN options3m 14s
-
(Locked)
Enforce password complexity6m 13s
-
(Locked)
Viewing users, permissions, and polices7m 32s
-
(Locked)
Deleting a database user4m 48s
-
(Locked)
Local vs. common user concepts2m 49s
-
(Locked)
Creating local users6m 45s
-
(Locked)
Creating common users7m 1s
-
(Locked)
Separating object owners and access5m 34s
-
-
-
-
-