Strange problem with SQLPLUS when client and server on the same box

Hi,
I have the problem with SQLPLUS when clinet and server on the same machine.
With client and server on the same machine i am running the command
sqlplus -l username/password@connect_identifier as SYSDBA.
With this command, even if you pass in wrong username or wrong password or both as wrong you can able to connect to database and execute queries.
Once Connect_identifier is correct and trying to log in as SYSDBA ,sqlplus will log in to DB with any username and password.
How to get rid of this behaviour. Is there any way to do this.
I am running this command by creating a process in C#
Edited by: user11000236 on Jun 16, 2009 10:31 AM

user11000236 wrote:
Thanks for the info.
How does Oracle/SQLPLUS allows any username or password to log in to DB with SYSDBA Privillages? What is the concept behind this.?
This is explainted in the above mentioned link:
Operating system authentication takes precedence over password file authentication. If you meet the requirements for operating system authentication, then even if you use a password file, you will be authenticated by operating system authentication.

Similar Messages

  • How to show a picture both on client and server at the same time (X11?)

    Hi Guys
    I want show a picture on my client as well as on the server(in another location) at the same time, pretty much like showing something both on laptop and on a projector. Assume I have a picture sssss.jpg on the server A1, if I want to open that picture to my client, I can simply to do the following from client A2:
    xhost A1
    telnet to and login A1
    setenv DISPLAY "ipaddress of A2":0.0
    Anyone can direct me how to show picture the client that I am sitting at an also show on the server at the same time?
    Thanks

    VNC would let you do that. With a shared connection, both machines could run a VNC client to the same session.
    Darren

  • How to handle when Client and server write to the socket at the same time

    Hi all,
    I'm writing a socket communication when client and server may write information the the socket at the same time. I look every where but the samples from the internet only shows example of server replies to client after receiving requests from clients.
    Let's say that:
    Client 1 ->Socket 1 -> Server 1
    Now if there are two threads in the server, one blocked waiting for the input from client on socket 1, the second one write something on the socket to client 1, is it possible?
    And if it's possible, if at the time Server 1 writes information to Client 1, Client 1 writes some information to Server 1 too, will there be any conflict problem or the socket could handle that two ways communication simultaneously?
    It's critical questions for me. Thanks for your help.

    I really use Server Client paradigm. However, beside the request, response mechanism, there is also an additional mechanism called update which server periodically send information update to client without the need for a request from client.
    So you suggest client should initiate 2 sockets, one for request and response, one for receiving update from the server? Will this work?

  • Dev and Qa in the same box

    Hi All,
    If I have the DEV and QA in the same box and the sid’ s being EXD and EXT respectively pointing to the same technical system. Should we assign the role of “Integration server” to both the business systems or EXD should be integration server and EXT being the application system?? Hows it work for a single SLD for Dev and QA?

    Teresa,
    Adding to stefan, in your SLD, you create Transport Groups and then assign your Business System to the Correct Transport Groups ( when you assign a Business System to an Integration Server ,  it is added to the Transport Group to which the Integration Server belongs ) and then you assign the Transport Targets to the Source and Target business systems.
    note : When migrating objects from one environment to another, all Source Businss systems should belong to the same transport group.
    Regards,
    Bhavesh

  • OEM 12c and OVM on the same box?

    Hi Guys and Girls!
    Thank you in advance for your support!
    Could you please share you experience, best practices and gotchas with installing OEM 12c and OVM on the same OL 5x box?
    We would like to install OEM 12 R2 on a OL57 server with an existing production (Oracle DB SE 11.2.0.3.0) Oracle VM Manager 3.1.1.625 installation.
    Some questions:
    1- Does Oracle support OEM and OVM on the same server?
    2- If Oracle VM Manager and the SE DB are already installed on an OL 57 server in /u01/app/oracle/product, can OEM 12c R2 be installed into /u01 as well, or should we use a different directoty, i.e. /u02?
    3- Will the OEM 12c installation program be able to use the same DB as Oracle VM Manager, i.e., its just creates the OEM DB schema and goes on its mary way without harming the Oracle VM Manager DB schema?
    Thank you,
    Roddy

    Alessandro,
    Thank you for your reply!
    The irony with my OEM and OVM on the same box question is that the Oracle Sales & Support teams as well as public Marketecture has been recommending collocating OEM & OVM!
    I agree with you 100% about resource consumption, and considering how often we must restore/reset Oracle VM Manager I am curious how supportable an OEM & OVM install is on the same box. 99% of my customers are not interested in supporting MySQL, i.e. the DBAs know Oracle not MySQL. As long as Oracle VM Manager resets (DB deletes) and UUID restores (uninstalls and re-installs)  will not damage OEM its all good.
    Thanks again for your support!
    Roddy

  • OiD, DB and iAS on the same box

    Hello world!
    Did anybody installed OiD DB and iAS on the same box and if yes
    does it working & ? :-)

    Hello Dmirty:
    Yes, you can install them on the same box. Here is how I do it:
    1. Install OID with its database.
    2. Resize the OID database user and system tablespaces according
    to the installation instructions in the 9iAS Portal install
    guide.
    3. Install Portal in a seperate Oracle Home on the same box.
    When you install 9iAS version 1.0.2.2, Portal needs a database
    but the database it will use cannot reside in the same Home.
    Since you are installing OID, and OID installs a database it is
    more space efficient to use the same Oracle Home you use for OID
    as you use for Portal. Again, install Portal in a seperate Home
    from OID but point Portal to the database in the OID instance
    durring installation.
    Hope this helps.
    Jay Tomlinson

  • Designer 6i and 9i on the same box

    Can I run Designer 6i and 9i on the same box?
    In different Oracle Home of cources
    thank you in advance
    Albert

    Albert,
    Yes you can install 6i and 9i together without problems.
    Patch versions of 6i and 9i repositories are even compatible, although updates on the repository are certified only from one of both. Browsing should be possible from both 6i and 9i against the same repository. though.
    Compatible versions are:
    6i 9i
    4.6 9.0.2.4
    4.5 9.0.2.3
    4.4 9.0.2.2
    etc.

  • Strange problem with reminders when waking iMac

    I'm having a strange problem with reminders in Mountain Lion, and I thought someone might be able to help. If I have a reminder set, and it goes off when my iMac is asleep, after waking the iMac I can't dismiss the reminder. I can click on "Close" or "Snooze" once, and there is the puff of smoke like it has been dismissed, but the notice is still on the screen (even in the Dashboard view), and hover over it only gives the spinning beachball and I can't access notifications with the two finger swipe. So far, restarting my iMac is the only solution I have found to this situation.
    Is anyone else having this happen? Is there an easy solution? Thanks!

    user11000236 wrote:
    Thanks for the info.
    How does Oracle/SQLPLUS allows any username or password to log in to DB with SYSDBA Privillages? What is the concept behind this.?
    This is explainted in the above mentioned link:
    Operating system authentication takes precedence over password file authentication. If you meet the requirements for operating system authentication, then even if you use a password file, you will be authenticated by operating system authentication.

  • Problem with brtools when sapdata and logs are on diff drv

    Dear SDN,
      I have installed was 640 on Windows w/oracle 9.2. When I try to use brtools for instance management it is giving me an error saying that it cannot find the directory "sapbackup" I am guessing that is because when I did the install I chose to put the datafiles in a different location than the logfiles.  I would have thought that sapinst would have set the proper env variables, but sapinst didnt set any of them. Any suggestions?
    Thanks
    Jeremy Baker

    Hi,
    Please check the following information.
    Environment variables define parameter values used by the Oracle database and BR*Tools.
    The database uses the parameter values for many different purposes. BR*Tools also uses the parameter values.
    Structure
    The following variables are required:
    ·        ORACLE_SID
    System ID of the database instance
    Example: C11
    SAPSID or sapsid refers to the SAP System ID.
    DBSID or dbsid refers to the name of the database instance (database instance system ID).
    When a single instance is installed, SAPSID and DBSID are the same.
    ·        ORACLE_HOME
    Home directory of the Oracle software. This variable no longer needs to be set. If not set, the SAP tools determine its value from the registry.
    Standard: . The environment variables only have to be defined individually if directories are used that deviate from the default.
    For example: SAPDATA1= F:dataprodsapdata1.
    Other environment variables that you can set for BR*Tools:
    ·        BR_LINES
    Definition of the number of lines in list menus.
    Recommended height: ³ 20 lines.
    For more information, see Configuring the Scroll Line Count for BR*Tools.
    ·        BR_LANG
    Definition of the message language:
    ¡        E: English
    ¡        D: German
    ·        BR_TRACE
    Setting the trace function for error analysis.
    Source: http://help.sap.com/saphelp_erp2004/helpdata/en/f8/fd0d24bcb8e14487624ff0b836b5b2/frameset.htm
    Hope that helps.
    Regards,
    Siddhesh

  • Connecting client and server on a same PC

    Hi,
    I installed oracle personnal DB 10g on my computer then I installed the client 10g on the same computer,
    I would like to know how to configure the files ("HOSTS",...) so I can enter on the client and work on the database. (It well help me simulate the work before having a real server)
    I already create a database on the oracle personnal named"ONDA" but I don't know what ip adress use and what to do.
    I tried some tutorials but doesn't work

    919563 wrote:
    Iam using Oracle 10g client and Oracle 10g R2 on the same computer (windows xp)Separate installations? Not needed, as the db installation includes a full client.
    Can you show where I had to write this "$ lsnrctl stat"
    and where I had to write this "$ sqlplus user@'hostname:port/servicename'" ?at the command prompt. (the '$' is just shorthand for the command prompt itself. at the prompt, you enter 'lsnrctl status'.)
    Whats is my servicename ?ONDA
    Can you give me please a quick tutorial ?
    http://edstevensdba.wordpress.com/presentations/
    I put the adress 127.0.0.1 for both server and client on the file "HOSTS"
    I wroteon HOSTS:
    127.0.0.1 server
    127.0.0.1 client
    should just have
    127.0.0.1    localhost
    xxx.xxx.xxx.xxxx   somehostnamewhere 'xxx.xxx.xxx.xxx' is a fixed ip (servers -- and your database is a server process) need fixed ip addresses
    where 'somehostname' is whatever name you want to use to refer to your computer.
    then I went to \network\admin\tnsnames.ora and I wrote:
    ONDA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2080)(PORT = 1521))where did you come up with that value for HOST= ?
    (CONNECT_DATA =
    (SERVICE_NAME = ONDA)
    My database (on sever ) is named ONDA
    I don't know what to do on the listner? wich listner modify (server or client) ?There is no such thing as a 'client listener'. The listener is, by definition, a server-side process.
    DId you read -- and heed -- the installation instructions, especially those concerning installing a loopback adapter and a fixed ip address?
    Edited by: EdStevens on Mar 8, 2012 2:28 PM

  • Running Sun App Server 7 and 8 on the same box

    Hello,
    Are there any known issues with running Sun App Server 7 and 8 in the same host box ? Currently I am encountering some class not found exceptions with Sun App Server 8 . Sun App Server 7 runs just fine.
    Thanks,
    Aswin.

    It's not advisable to run separate installations of
    ColdFusion 7 and ColdFusion 8 single server on the same machine the
    re are several services that will try to use the same ports.
    However, you can install ColdFusion Enterprise using the
    multi-server configuration and then deploy the J2EE versions of
    ColdFusion to JRun. You can change the JVM that each instance uses
    (we recommend the latest 1.4 for CF7 and the latest 1.6 for CF8),
    and everything should run fine.
    ColdFusion itself is essentially just a J2EE application, the
    J2EE server itself is JRun 4. So the specific answer to your
    question is "don't install 2 copies of JRun 4 to the same machine".
    But yes, it's 100% possible, I'm running this configuration in my
    own development environment.

  • Picture and text in the same box for the calender?

    Is it possible to put a small picture in the box (for say May 4) and also get a short text line in the same box?
    When I'm doing it now, the picture takes up the whole box and the text goes underneath.
    Thanks

    Unfortunately that's how it works. If you have a 3rd party editor you could add the text to the picture before adding it to the calendar. Put in a feature request at http://www.apple.com/feedback/iphoto.html.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Open Directory or LDAP Problem with 10.5 Client and 10.4 Server

    Yesterday, the client-server setup we've been using successfully FOR YEARS decided not to work on a v10.5.8 MacBook Pro client. Did not do anything to the v10.5 client recently (other than to boot it up). Not sure if any software was updated on the server recently (where do I check for this?). Curiously, a v10.4.11 client running on a Mac Pro (tower) continues to work fine/as though nothing's changed. It appears as though the only difference is v10.4 client (working) vs. v10.5 client (not working).
    Here is what IS working:
    1) Network Home Directories on dedicated drive partition of Mac running OS X Server v10.4.11. AFP, DNS, and Open Directory are all up and running (normally, I think) as shown in Server Admin application.
    2) Mac Pro (tower) client running v10.4.11 binds to and authenticates at v10.4.11 server. Any valid user can access their home directory on the server seamlessly when logging in at this v10.4.11 client Mac.
    3) That same v10.4.11 client Mac also contains a LOCAL admin user with its home directory on the local hard drive. That LOCAL admin account is used to update software on a per machine basis (and preclude users from adding unauthorized software, needing to use a specific machine, etc.).
    Here is what IS NOT working:
    4) On a MacBook Pro client running v10.5.8, the LOCAL admin account looses access to the partition containing its local home directory. The drive partition literally disappears. The only "solution" I've been able to find (and it's not truly a solution) is to turn off the Open Directory/LDAP binding (using the Directory Utility application). With binding turned off, the LOCAL admin user has no problem accessing their home directory on the local hard drive partition. Turn binding on again (using Directory Utility application), and the LOCAL admin user can no longer see its local home directory.
    Again, binding is necessary to allow regular users to use the v10.5 MacBook Pro with Network Home Directories (as in items 1-3 above). Binding should be turned on for this reason. However, with binding on, the LOCAL admin user cannot manage the computer because the local partition containing the admin home directory disappears/is inaccessible. Turn binding off, and the partition containing the admin home directory reappears.
    Perhaps there's something in the sever logs that will help. I don't really know how to read these, so if your help involves the logs, please refer to them explicitly (e.g., "in Server Admin, go to Open Directory->Logs->LDAP log" or similar).
    Any help greatly appreceated.

    Nope. Never used sso_util.
    I try to use Apple's GUI server management tools unless absolutely necessary/at the end of my rope (i.e., last step before re-install etc.). I figure there's just too many things going on under the hood: using the command line may fix one setting, but not re-configure the two or three others that Apple NEEDS in order to have the whole thing working in harmony. Unless you really know what's going on with all the configuration files, it's best to let the GUI manage the settings.
    In my particular circumstance, I've now got ALL Leopard clients, one Leopard v10.5 server, and one Tiger v10.4 server. Everything is working fine now, but it was not a simple matter getting the Tiger v10.4 server re-integrated into the otherwise ALL Leopard environment. OD/Kerberos is on the Leopard v10.5 server. Home directories are still on the Tiger v10.4 server.
    Two keys to getting THIS/MY set-up working:
    1) Tiger v10.4 server needs to have Open Directory set to "Connected to a Directory System" and has to be joined to the Kerberos realm that was set-up on the Leopard v10.5 server (use Server Admin to do all of this).
    2) Sharepoint on Tiger v10.4 server has to have SOME, but NOT ALL checkboxes for guest access enables/checked. See:
    http://discussions.apple.com/message.jspa?messageID=10903468#10903468
    Number 2 immediately above is contrary to what Apple manual for User Management reads, but this is what worked for me/my set up, after pulling my hair out following the manual's instructions to the letter and not getting the thing to work!

  • Strange problem with 10G using client installed enterprise manager console

    I have successfully installed 10G on our SUSE linux 9.0 server, I have created 6 databases (standard edition of the database) and verified their parameter files, control files, and database files are in different locations --- all done at the server console. I created my DBA account on all 6 databases and logged into each one to verify their function.
    I returned to my PC where I have installed the 10G client and where I have used the 8 and 9 enterprise manager console to manage my databases. I got the TNSNAMES file in order for the new databases. I logged into the first database and tested my workstation connectivity successfully , I logged into the second database and it said my password was incorrect. I ended up signing in on the second database with my first databases account password. (it then worked). I got fed up hopping around with the mystery with the password being stored somewhere in the enterprise manager java ? and logged in as system and changed all of my passwords. I then went up to the console and found that the only database that they changed on was the first one.
    I returned to my workstation and started creating the data files and users and roles in the first database. I now on either workstation in my office, when logging in as ANY of the six database DBA accounts, can see all the objects I created in the first database.
    I went to the server console and logged in and verified that the objects only exist in the first database. For some reason the enerprise manager console is really a problem. I have windows XP. Our database is on 10G but we are not taking advantage of grid control due to budget reasons (one server only).
    I have heard there is a url based web management console at: http://serverip:5500/em, but it is not working currently in our environment and it will be up to our sys. engineers to release / open up that port through our DMZ. Ordinarily would this allow the kind of control that the old enterprise manager console would?
    Is my installing the grid conrol product going to be "overkill" and not useful for me or should I install it?
    Is there an alternative 10G version of the enterprise manager console for simpler environments like mine?
    Is there a good explanation why my workstations are presenting "false" cached information above what is really in the database for objects unique to each database - ie: why are my #1 database objects showing up in EMC as objects in all databases and why is EMC managing/storing my passwords.?
    I just need to get the best choice to manage my environment.
    I know I have asked a lot of questions and I would appreciate any insight from someone who has encountered this before.

    fixed
    - the alias in the TNSNAMES was correct but the actual database "service_name" was the first db - -- a long project / late night oversight. I also went into the sysman\ifiles\ and corrected the entry for the database there too where it had registered the settings for the wrong database.

Maybe you are looking for

  • How do I use one iTunes library for several user accounts?

    This is definitely a question! I have several user accounts for my osx. One I use at home, one at work etc. What I never have been able ta manage is a way to use the same iTunes library (the same music files) for the different accounts. When a new us

  • Traffic Lights in ALV Tree

    Hi Experts , Could you suggest if we can use traffic lights in ALV tree Display and if possible  program(T-code ) you have gone thorugh. I already checked BCALV_TREE_06 , its totally different just showing icons . Regards, Karan Edited by: Karan_Chow

  • Strange Finder Behavior

    Hi every one! I have a folder with 2101 pictures in it. In list view, everything is fine. But in thumbnail view, right-clicking on any file past the 912th file and up to the 1820th file in the folder, I get folder information instead of file informat

  • How to pass argument in main function ?

    How to pass arguments in main function of one class from another class ? I don't want to pass argument from command prompt. I want to try something like this - class Test{ public static void main(String args[]){ for(int i=0;i<args.length;i++)      Sy

  • Com,unicting on Serial Port using RXTX on Mac System!

    Hi, I have written an application which acts as an interface between the GPS device and Mac System. I have used rxtx api for communicating on Serial Port. The communication works well for some time. This device gives NMEA output and its proprietory s