Bypass user name and password prompt for sqlplus on Windows

Hi folks,
I had oracle 10g installed on my Windows XP SP2 system and everytime I use sqlplus, it prompts for user name and password. Some folks wrote some Unix shell scripts which invokes "sqlplus" without giving it user name and password, and these scripts are running fine on Solaris. So I would like to make these script to work on my Windows box as well. But obviously, it asks me user name and password every time. Since it is a shell script, sqlplus << EOT .... EOT will fail right away with : Fatal NI connect error 12560, blah blah blah...
So my question is how to make sqlplus bypass the user name and password questions.
Thanks,

No sqlplus /nolog does not connect you to the database, you still need to connect to the database.
c:\sql>sqlplus /nolog
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Feb 21 15:19:16 2007
Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
idle> select * from dual;
SP2-0640: Not connected
idle> connect test/test
Connected.
test@ORCL> select * from dual;
D
X
Elapsed: 00:00:00.01
test@ORCL>

Similar Messages

  • Where is user name and password stored for database adapter

    dear all,
    does any body know where is the password stored in database adapters.
    I noticed it mentioned in wsdl file in encrypted format, but is there any other place it stored.
    a ) before deployment
    b) aftre deployment .
    Thanks in advance .
    Regards
    Arc

    you will notice a JNDI name for this e.g. eis/DB/... this is used to look at the Application Server configuration. If it doesn't exist then it will use the credentials used as design time. Not good asthe connection will be fore development mainly.
    you can safely remove the mcf setting from the wsdl so it will always force the AS connection. this is good practice.
    To configure the AS configuration there is the oc4j-ra.xml file for the DB adapter. Or you can configure in Enterprise Manager
    EM -> oc4j_soa (home if basic install) -> Administration -> JDBC Resources
    configure a connection pool and data source
    then create a JNDI name entry for the DB adapter
    EM -> oc4j_soa (home if basic install) -> Applications -> Drop Down box select Adapter Resources -> DB Adapter
    Use the examples. You will see that the connect string = jdbc/DBName
    cheers
    James

  • Firefox will not save my user name and password for one of my sites. How can I fix this problem. It is getting annoying having to reenter every time I check this site. Is there a solution.

    I had my user name and password saved for my library site. My grandson hit something and now the saved user name and password are gone. It asks me every time to enter it and it is getting annoying. How do I fix this. I want Firefox to remember these codes.

    You can create a bookmark with the JavaScript code via a right-click on the "Remember Password" link on the squarefree.com website and choose "Bookmark This Link" and select the "Bookmarks Toolbar" as the destination folder for easy access.
    * https://www.squarefree.com/bookmarklets/forms.html#remember_password
    You need to use the "Remember Password" bookmarklet before or after filling the name and password field on the website with the <u>login form</u>, but before submitting the login form by clicking a button on the web page.
    If the site is using autocomplete="off" then you see a number not equal to 0 (i.e. attributes were removed) in the pop-up alert from the bookmarklet and Firefox should offer to remember the name and password via a drop down dialog of the key icon that will appear on the location bar (Firefox 4+) or via an info bar at the top (Firefox 3).

  • When a new site is created can a user name and password be generated for it automatically?

    I have a work request  from a manager that is asking, when a new site is created (via workflow), that a generic user name and password be created just for that site?
    If it is possible I would like for it to be created at the same time as the site be being created or do I need to wait until after the site is created and then trigger a workflow to create the generic  user  account?
    this account is only needed to do one thing.. upload documents to a folder.
    of course there can be multiple  sites being built at one time and would like for this to be auto generated....  and possible be in a  hidden list so I can include the info in a workflow email letting the receiver of the email know that
    they need to use this specific user name and password just for this site.

    Hi SPSAdminTC,
    According to your description, my understanding is that you want to create sites and grant users permissions on the sites via workflow in SharePoint 2013.
    Users are stored in AD, before you grant site permissions to them, the name and password have existed in AD users and groups. So, you need to add the users into AD before you grant permissions to them.
    In SharePoint 2013 Designer, you can use REST API to create site and assign permissions to users. You can use Send Email action to send email to users and customize the body of the email.
    More information, please take a look at:
    http://rogereriksen.wordpress.com/2013/05/24/create-a-sharepoint-site-using-rest-in-workflow-with-sharepoint-designer/
    http://www.sharepointbay.com/assign-permission-rest-api/
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • WLAN network always prompts for user name and password...

    Hi,
    Everytime Airport detects the WLAN of my institution, it prompts "Authenticating to network" and I have to put in my user name and password. Is there any way to store this information (probably in the keychain) so that an automatic login to the WLAN [as in my home network] is possible? The problem is that I can not find any button like "save this password in the keychain" [you can only put in user name and password]. Is it possible that my institution prevents automatic login?
    I also tried to create an item in the keychain directly - does not work.
    Cheers

    Hi,
    I agree in that there has to be a prompt for WLAN access. Otherwise just everyone could step by and use the access. But if I have to authenticate once, why should the institution prevent an automatic login for me in the future? Well, okay, if someone steals my notebook and knows my master password... hmm, so there is no way to locally (on my notebook) use some software that automatically puts in my user name and password so that I - maybe - only have to push the "Go/Enter/Access" button?
    For example, some institutions use browsers to authenticate and 1Password, but also Safari natively, can automatically fill in the information.
    Cheers

  • What is the default user name and password for oracle databse 10g

    Hi: gurus, I just recently installed the oracle 10g personal edition and trying to log on to the enterprise manger, but can't figure it out the user name and password, can some one help me and tell me what is the default user name and password to logon to the oracle instance. BTW during the installation I choose two passowrds one for the schema and one for the global database orcl. I wonder will I be using one of these passwords. Still I don't have any clue for the "User Name".
    thanks

    system/manager and sys/change_on_install are still valid default passwords when database is manually created. If DBCA was used, passwords will be those defined at creation time inside DBCA.
    In case passwords have been forgotten, those can be reset:
    From an OS commnad prompt, set ORACLE_SID, ORACLE_HOME and PATH environment variables, just to make sure you are pointing to the right Oracle Home installation, and issue:
    OS> sqlplus / as sysdba
    SQL> alter user sys identified by yourNewSysPassword;
    SQL> alter user system identified by yourNewSystemPassword;
    And you're done with it.
    HR Madrid

  • AppleScript: Waiting for a user to enter user name and password

    I'm currently working on an AppleScript designed to automate binding a computer to Active Directory and another script to install a login certificate. While you can create a UNIX shell script for the Active Directory binding, I found that you have to have your user name and password in the script itself and this system will be deployed by multiple people.
    So instead I'm doing an GUI Automation AppleScript of Directory Utility. What I'd like to do is have the script to wait for the admin user (who will be remoting in by ARD) to enter their Network user and password, click okay and then continue the script to quit the program and then run a self-destruct (which I'd also appreciate any advice about doing in AppleScript)
    Here's the script so far, which I've set up successfully:
    activate application "Directory Utility"
    tell application "System Events"
      click text field 1 of row 1 of table 1 of scroll area 1 of group 1 of group 1 of window "Directory Utility" of application process "Directory Utility"
      click button 1 of group 1 of group 1 of window "Directory Utility" of application process "Directory Utility"
      click text field 2 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "EXAMPLE.COMPANY.com"
      click UI element 3 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click radio button "Administrative" of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click checkbox "Allow administration by:" of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 1 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExamplePS NA"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 2 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleNA"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 3 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleNATemps"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 4 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleTeam 1"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 5 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleTeam 2"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 6 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleTeam 3"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 7 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleDesktop Admins"
      click button 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      click row 8 of table 1 of scroll area 1 of tab group 1 of sheet 1 of window "Directory Utility" of application process "Directory Utility"
      keystroke "GroupExampleDomain Admins"
      click button "Bind…" of sheet 1 of window "Directory Utility" of application process "Directory Utility
    <<WAIT LINE HERE FOR NETWORK ADMIN AND AND PASS, THEN USER WILL CLICK OKAY, THEN CONTINUE SCRIPT>>
    <<QUIT ACTIVE DIRECTORY>>
    <<SELF-DESTRUCT>>
    end tell
    It isn't a real command prompt like if you're changing System Preferences or something. It's a specialized prompt specifically for Directory Utility. However, I do need to know how to make AppleScript wait for a password for a standard Password Prompt for adding a certificate to the login keychain through Keychain Access. I've also done pretty much the same thing as above for that script.
    Any tips would be GREATLY appreciated.

    Yeah, I know GUI Scripting is not the best way, but I couldn't find a successful variable system for the following script. The other issue is that I'd prefer to send this by ARD and have ARD ask for a User Name and Password, but I've found there's no way to do that. Then again, I can't send the AppleScript purely remotely either.
    What I mean by self-destruct is simply I only want the Active Directory binding script to run once upon login to the primary admin user and then delete itself so it doesn't get run again. The login certificate script I want to run once on each new user who logs in (so I'll likely be putting it in the "User Template") and then delete itself so it doesn't run the next time they log in. I can't figure out any way to hit those buttons through a shell script.
    Here's the original UNIX shell script: (This is what I'm using temporarily until I figure out a solution that doesn't require my user name and password to be embedded)
    #! /bin/bash
    MACNAME=$(scutil --get ComputerName)
    dsconfigad -add "CORP.DOMAIN.NET" \
    -username USER \
    -password PASS \
    -computer $MACNAME \
    -mobile disable \
    -mobileconfirm disable \
    -localhome enable \
    -useuncpath enable \
    -shell /bin/bash \
    -ou OU=Macs,CN=Computers,DC=corp,DC=DOMAIN,DC=net \
    -force \
    -localpassword "PASSWORD" \
    -groups "GROUPS"
    And here is the Certificate Installation AppleScript
    activate application "Keychain Access"
    tell application "Finder" to open POSIX file "/FolderName/Certificate.crt"
    delay (3)
    tell application "System Events" to tell process "Keychain Access"
      click button "Add" of window "Add Certificates"
      click button "Always Trust" of group 3 of sheet 1 of window "Keychain Access"
    end tell
    Thanks for the help. I really appreciate it. This is a rather new field for me and most of my knowledge comes from Google Searches and about a billion tabs trying to find answers.

  • User Name and Password for JCO RFC call to BAPI

    Hi all,
    What I think I know:
    --We do NOT have Single Sign On configured so don't tell me to use SSO please - I agree, but...
    --We have a requirement to do a goods receipt which prints labels for the handling units 
    .....The printer to which the labels are directed depends on the user who is running the transaction
    What I think this means
    --We will need to specify a user name and password in the RFC call so the label will go to the correct printer
    --I cannot use the IllumnLoginPassword (or whatever its name is) for the password
    --I need to prompt the user for their password a second time after they login to our MII app
    The problem
    --I will need to store the password somewhere for the duration of the session
    ......In session variable that has been encryted
    .............I didn't see an encryption action block so I could create my own
    ......In the database using database column encryption
    .............A little bit of a pain, but not too bad
    Any corrections, alternatives, ideas .... ???
    Thanks,
    --Amy Smith
    --Haworth

    Thanks for the attention guys.  A little clarification.
    1.  I have been assuming that I cannot use the IllumnLoginPassword for the JCO SAP password in the action block.  If this is NOT true, then it solves my whole problem.
    2.  It would not work to prompt a shop floor person for their password every time they do an operation completion.  Well, at least
    if I don't want to not get lynched! 
    3.  I am planning on prompting people every time they log on for their ECC password and retaining it somewhere secure while they are logged on (and longer if they skip the logoff step.)
    4.  I have been focusing on how/where to retain the password, but also need a way to encrypt it during transmission.  Jeremy said the applet/BLS would at least encode it for me.  That is good.
    --Amy Smith
    --Haworth
    Edited by: Amy Smith on Feb 18, 2010 1:30 PM

  • User name and Password for Actions

    Dear Friends
    i am working with IDES 6.0 , while performing Hiring action, for every infotype after enter data, sys prompting for USER name and Password, only after providing User name and Password  sys is going for the next infotype
    to my knowledge sys should not ask for Uname and password
    please suggest how to solve this
    Thanks
    kumar

    Hi,
    This is a basis issue. Ask your basis team to solve this problem. same thing was happening for me also few days back. I took help from basis team and solved. If you are not able to solve let me know I will ask my basis team and inform you.
    Regards,
    Purnima

  • My app store is not working after installing mavericks. When I open app store it repeatedly asking me to login with apple ID and to provide User name and Password for proxy authentication in a loop.I am a newbie to mac,Please help me.

    My app store is not working after installing mavericks. When I open app store it repeatedly asking me to login with apple ID and to provide User name and Password for proxy authentication in a loop.I am a newbie to mac,Please help me.

    Hmmmm... would appear that you need to be actually logged in to enable the additional menu features.
    Have you tried deletting the plists for MAS?
    This page might help you out...
    http://www.macobserver.com/tmo/answers/how_to_identify_and_fix_problems_with_the _mac_app_store
    Failing that, I will have to throw this back to the forum to see if anyone else can advise further.
    Let me know how you get on?
    Thanks.

  • I am locked out of my phone. Asking for a google user name and password?  I don't know what it is!

    I am locked out of my phone. Asking for a google user name and password?  I don't know what it is!

    http://techobar.blogspot.com/2012/11/unlocking-lock-pattern-after-too-many.html
    Or this site.
    http://about-google-android.blogspot.com/2013/04/how-to-unlock-android-phone-when-forgot.html

  • The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError) Log on failed. Ensure the user name and password are correct. (rsLogonFailed) Logon failure: unknown user name or bad

    The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError)
    Log on failed. Ensure the user name and password are correct. (rsLogonFailed)
    Logon failure: unknown user name or bad password 
    am using Windows integrated security,version of my sql server 2008R2
    I have go throgh the different articuls, they have given different answers,
    So any one give me the  exact soluction for this problem,
    Using service account then i will get the soluction or what?
    pls help me out it is urgent based.
    Regards
    Thanks!

    Hi Ychinnari,
    I have tested on my local environment and can reproduce the issue, as
    Vaishu00547 mentioned that the issue can be caused by the Execution Account you have configured in the Reporting Services Configuration Manager is not correct, Please update the Username and Password and restart the reporting services.
    Please also find more details information about when to use the execution account, if possible,please also not specify this account:
    This account is used under special circumstances when other sources of credentials are not available:
    When the report server connects to a data source that does not require credentials. Examples of data sources that might not require credentials include XML documents and some client-side database applications.
    When the report server connects to another server to retrieve external image files or other resources that are referenced in a report.
    Execution Account (SSRS Native Mode)
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Time Capsule won't accept my user name and password for access - Help!

    Hi all,
    My Time Capsule seemed to stop working one day and I had to do a hard reset with the little button at the back. After that it worked and I restored my wireless network settings but now I can't access the Time Capsules hard drive with Time Machine.
    When I try to choose it as my Backup Disk in the Time Machine preferences it says "Enter your user name and password so Time Machine can access the file server "Our Time Capsule" (the name of my time capsule). However, every time I try to enter my password I get "Sorry, you entered an invalid username or password".
    I've already tried several resets of the Time Capsule and I've also tried logging on my computer as the Root user and changing my administrator account password back and forth but no go.
    Help! and Thanks.

    Norman & Harry,
    Consider the following:
    *_Time Capsule Keeps Asking Me For a Password_*
    It will be important to know what is going on, or what you are doing when it asks for the password. Is it asking for a password only when Time Machine attempts a backup? Consider this:
    It is NOT your username and password it wants when you try accessing the Time Capsule. (I know... it SAYS "username and password") But it means the Time Capsule's Name and Password.
    You will find that by launching Airport Utility.
    Select the TC on the left.
    Click "Manual Setup".
    Click the "Time Capsule" Tab.
    You will see "Time Capsule Name:" and "Time Capsule Password".
    Make sure “Remember password in keychain" is checked.
    That is the information you need to enter when it asks for "username & password."
    *I Don’t Remember What My Time Capsule Password Is*
    You can see what your current TC password is by going into Keychain.
    Open your Keychain and select "login" from the Keychains pane in the top left. Highlight "Passwords" in the Category pane from the lower left.
    Sort all the items by Kind. Note everything labeled "Airport...". How many do you have listed? There should only be one "Airport base station password" for each base station that you have active. Also, there should only be one "Airport network password" for each network you have created. If there are more than these, then delete all but the ones with the most recent Modification date.
    To see what passwords are being stored, double-click your Time Capsules' entry. A new window will appear.
    Put a check beside "Show Password". You may be asked for your own Admin password so enter that.
    Now the Password field will display the password you entered into Airport Utility for your Time Capsule
    *It Still Won’t Accept the TC Name and Password*
    Launch Airport Utility --> Manual Setup.
    Select "Disks" in the tool bar above.
    Click the "File Sharing" tab.
    Is "File Sharing" checked? It should be.
    What is selected beside "Secure Shared Disks"? If it says "With Accounts" or "With a Disk Password" then the system will ask you for a password every time it mounts the TC hard disk. If you switch it to "With Time Capsule Password" then use the password you designated earlier in the “Time Capsule" tab. It should only ask you once and then never again - because you had checked "Remember password in keychain".
    If you have made any changes then click "Update".
    Let us know if this resolves your issue.
    Cheers!

  • HT204053 I did not know my kids had set up an Itunes account for me with one user name and password.  then i got an i phone and set it up with a different email address and new password.  how can i get my accounts to merge so i can have all of my music on

    I did not know my kids had set up an Itunes account for me with one user name and password.  then i got an i phone and set it up with a different email address and new password.  how can i get my accounts to merge so i can have all of my music on my iphone

    Quote: "You cannot merge two or more Apple IDs into a single one. You can, however, use one Apple ID for iCloud services and another Apple ID for store purchases (including iTunes in the Cloud and iTunes Match). See “Using one Apple ID for iCloud and a different Apple ID for Store Purchases” above for details." See also Apple ID & iCloud FAQ: http://support.apple.com/kb/HT4895?viewlocale=en_US&locale=en_US
    You can set up your iCloud account on your iOS device under: "Settings > iCloud" and a other account for store purchases under "Settings > iTunes & App Stores". Unfortunately merging accounts is not possible but you could transfer all of your music manually via iTunes from your Mac or PC.

  • HT1386 How do I create one Apple ID and iTunes user name and password for all of my Apple products: iPad, iPhone, and iPod plus iTunes on my PC?

    How do I create one Apple ID and iTunes user name and password for all of my Apple products: iPad, iPhone, and iPod plus iTunes on my PC?

    Yes, I do have multiple devices and it appeared to me that every time I tried to sync or log onto iTunes, the password was incorrect.  Consequently, I was and am constantly changing it.  Wouldn't it be nice if Apple would simply say that you only need one Apple ID and one password regardless of the number of Apple devices you intend to sync via iTunes. 
    Barring the above, how about a way to merge all of the Apple IDs and passwords into one.

Maybe you are looking for

  • Can I move my Mac from one house to another while its migrating in migration assistant or does it have to stay close to PC?

    My Mac is getting files from my PC using migration Assistant and I am about to go to my friends house & was wondering could I take my Mac with me or does it have to stay in the same house as my PC while its migrating?

  • Settings In Walkman not working after update to Android 4.3

    Hi Guys,                    i just recently updated my Z1 from 4.2.2 to 4.3 and whenever I choose Settings inside Walkman, it says "Unfortunately, Walkman has stopped working". Can you please help?

  • Problem with a basic SMARTFORM behaviour

    Hi Experts, I'am modifying a smartform in order to change some behaviour. I've never created any smartforms, so, as you can imagine, my knowledge it's very poor. My problem is the following: I need to show the operation number of a quotation but I ca

  • Aperture plugins

    Hello, where is the Aperture 'plugin' folder? I want to install a lens correction plugin for my wide angle lenses. Thanks

  • Database search not working

    Hi all, I am new to Orcale SES. I have to search database using SES. I have created database source with the following details: Database Connection String,User ID,Password,View,Document Count,URL Prefix, Parse Attributes, Remove deleted documents,Att