Revoke CREATE SESSION Privilege in Oracle

Q

How To Revoke CREATE SESSION Privilege from a User in Oracle?

✍: FYIcenter.com

A

If you take away the CREATE SESSION privilege from a user, you can use the REVOKE command as shown in the following example script:

>.\bin\sqlplus /nolog
SQL> connect SYSTEM/fyicenter

SQL> REVOKE CREATE SESSION FROM dev;
Revoke succeeded.

SQL> GRANT CREATE SESSION TO dev;
Grant succeeded.

This script restored the CREATE SESSION privilege to user "dev", so you can continue other example scripts below.

 

Lock and Unlock a User Account in Oracle

Grant CREATE SESSION Privilege in Oracle

Managing Oracle User Accounts, Schema and Privileges

⇑⇑ Oracle Database Tutorials

2019-07-09, 1611🔥, 0💬