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

Thread: Security..

  1. #1
    Join Date
    Aug 2001
    Location
    Dubai
    Posts
    41

    Exclamation Security..

    Hi Guys

    I can log on to oracle 9i sql plus using any user with any password as sysdba. How can i avoid that access becuase any one can access the DD views.

    for ex if i say connect s/a as sysdba or connect p/o as sysdba or any alphabets or user name not in the user list its allowing the access. If you have any knowledge of it kndly let me know

    Thanks
    BeeJay

  2. #2
    Join Date
    Jun 2001
    Location
    Dublin, Ireland
    Posts
    66
    Hi,
    are you using o/s authentication?
    Is the username that you use to originally log into your system a member of dba group or OPS$ user in the database?

    On my system (solaris 8) the 'oracle user is an OPS$ user in the database. If i log in as oracle I can then connect as sysdba in the same way that you are doing.

    HTH

  3. #3
    Join Date
    Jun 2001
    Location
    Dublin, Ireland
    Posts
    66
    If you want to check OPS$ (or EXTERNAL) users you can do this

    SVRMGR> select username, password from dba_users where password ='EXTERNAL';
    USERNAME PASSWORD
    ------------------------------ ------------------------------
    OPS$ORACLE EXTERNAL

    In this case as long as my o/s login is as the 'oracle' user
    i can do the following


    login: oracle
    Password:
    Last login: Wed Mar 26 15:59:48 from 10.200.100.103
    [suntest] /export/home/oracle# sqlplus /

    SQL*Plus: Release 8.1.7.0.0 - Production on Wed Mar 26 16:13:38 2003

    (c) Copyright 2000 Oracle Corporation. All rights reserved.


    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.2.0 - Production
    JServer Release 8.1.7.2.0 - Production

    SQL> sho user
    USER is "OPS$ORACLE"
    SQL> connect mickey/mouse as sysdba
    Connected.
    SQL> sho user
    USER is "SYS"
    SQL>

    Hope this helps

  4. #4
    Join Date
    Aug 2001
    Location
    Dubai
    Posts
    41
    Thanks Bgill
    For the reply..

    No its not OS authenticated... by typing any alapbetes/password as sysdba its allwoing access.
    Please reply if you have any idea about this

    BeeJay

  5. #5
    Join Date
    Jun 2001
    Location
    Dublin, Ireland
    Posts
    66
    I did some more checking on this.
    I found that you do not nescessarily need to be OPS$ user for this to happen. I found that I could do the same thing if my o/s login was as a user that was a member of the dba group.

    What is your o/s ?

    when you login at o/s level check if your o/s user is a member of the dba group.

  6. #6
    Join Date
    Apr 2002
    Location
    France
    Posts
    118
    see there the explanation given by Jmodic :

    http://www.dbasupport.com/forums/sho...threadid=29910
    If there is no solution, it is because there is no problem - Shadok -

  7. #7
    Join Date
    Aug 2001
    Location
    Dubai
    Posts
    41
    Thanks a lot YanBan.

    Thazzz really a great link by Jurij Modic.Once again thanks for the help and support.

    BJ

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