DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Privileges!URGENT!

  1. #1
    Join Date
    Feb 2001
    Posts
    286
    Hi all!

    Queries:

    1.If connect,resource roles are granted to newly created users,is there a possibility to revoke CREATE TABLE PRIVILEGE from such a user.If so how?

    With regards,

    Amitstora.


  2. #2
    Join Date
    Mar 2001
    Posts
    635
    Hi Amit,

    You can use the following statement to revoke privileges of the user

    1) login as user system or sys

    2) Type the following statement to revoke the users privilege

    revoke resource from username;

    Regards
    Santosh

  3. #3
    Join Date
    Jul 2000
    Posts
    296
    If the user has the roles CONNECT and RESOURCE, revoking the privilige from the user does not help. Revoke the roles from the user and grant the privileges to the user that (s)he needs e.g. CREATE SESSION and ALTER SESSION

  4. #4
    Join Date
    Mar 2001
    Posts
    635
    Hi Amit,

    Try the following statement after logging in as sys or system you will understand what privileges are associated to connect and resource

    select * from dba_sys_privs where grantee = 'CONNECT' or grantee = 'RESOURCE'

    Hope this helps you

    Regards
    Santosh

  5. #5
    Join Date
    Oct 2000
    Location
    Saskatoon, SK, Canada
    Posts
    3,925
    Grant the privileges explicitly to the user. If you have more than one user, then go ahead and create a role on those privileges that you would like to grant to the user and grant that role to those users. This way you can manage things easily.

    Sam
    Thanx
    Sam



    Life is a journey, not a destination!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width