Password not to be a command line parameter within scripts

Hi,
We have a few batch programs wherein the database passwords are stored as a command line parameter in an environment variable script.
But the customer wants to avoid this.
What are the options of storing password externally but which should be accessible to the batch programs.
Please advise.
Regards,
Narayan

user7202581 wrote:
Hi,
We have a few batch programs wherein the database passwords are stored as a command line parameter in an environment variable script.
But the customer wants to avoid this.
What are the options of storing password externally but which should be accessible to the batch programs.
Please advise.
Regards,
Narayan
Might solution depend upon OS name & version?
Might solution depend upon Oracle version (to 4 decimal places)?
Might solution depend upon where script file resides on DB Server or remote client system?
Yes, options exist, but I refuse to speculate based upon total & complete lack necessary details.
How do I ask a question on the forums?
https://forums.oracle.com/message/9362002#9362002

Similar Messages

  • Command Line Parameter in File Adapter in SAP PI

    Hi
    Can any body explaine me what is the purpose of 'Command Line' parameter in File Adapter (Sender/Receiver).
    Regards,

    Hi,
    Refer below two links for more help!
    SAP XI File Adapter OS Command Line Feature     
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/sapXIFileAdapterOSCommandLine+Feature
    More with the File Adapter      
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/morewiththeFileAdapter
    Regards,
    Jilan

  • HT4103 Password for sudo on the command line itself

    Is it possible to provide password for sudo on the command line itself? Something like:
         sudo -pw mypassword ...
    I know it isn't safe but I need it!
    -- tkowal

    Using a PC to promote OAF customizations from test to production is a way to prevent password from exposing to the public. Using C wrapper to call system() still exposes the passord.

  • How do I remove Lotus Notes PDFMaker plugin via command line?

    How do I remove the lotus notes PDFMaker plugin via command line?  I originally deployed Adobe Acrobat 10 as a complete install to many computers.  I see how to remove this specific feature through the GUI in Windows 7 by going to control panel / programs and features / Adobe Acrobat X / change / modify / create adobe PDF / acrobat PDFMaker / Lotus Notes, but this would be a tedious task to do manually at each computer.  I've experimented with a few msiexec commands after removing Acrobat such as:
    msiexec /i "\\path to msi" remove=pdfmakerforlotusnotes
    msiexec /i "\\path to msi" disable_pdfmaker=yes
    Both still install acrobat as a complete install.  Any help and suggestions would be appreciated.  Thank you!

    Thank you Sabian, that did the trick.  Here is the command line I used for anyone else having a similar issue:
    msiexec /i "\\path to msi" REMOVE=PDFMakerForLotusNotes /qn
    I did this on a test machine with a complete Acrobat installed.  I ran the above command and it removed the Lotus Notes PDFMaker plugin.  I should also note that it didn't downgrade my version of Acrobat and all of my custom settings within the application are still there.

  • Argument "10.2.8.39 c/ 1435.Process" for option "connection" is not valid. The command line parameters are invalid.

    Hello,
    I am running a sql job which runs SSIs pakcage imported from Integration Service Sever..
    it give me this error.... the server is :10.2.8.39 and the database is process
    how can I fix It? 

    Hello Arthux ,, thx alot for your help,,, I run the job again and this time it gives me this error ??
    Date,Source,Severity,Step ID,Server,Job Name,Step Name,Notifications,Message,Duration,Sql Severity,Sql Message ID,Operator Emailed,Operator Net sent,Operator Paged,Retries Attempted
    11/28/2011 13:58:09,SSISScoreCardsSDM,Error,0,OPLINKDEVINTRA\OPLINKDEVINTRA,SSISScoreCardsSDM,(Job outcome),,The job failed.  The Job was invoked by User LINKDOTNET\michael.philip.  The last step to run was step 1 (SDM).,00:00:01,0,0,,,,0
    11/28/2011 13:58:10,SSISScoreCardsSDM,Error,1,OPLINKDEVINTRA\OPLINKDEVINTRA,SSISScoreCardsSDM,SDM,,Executed as user: LINKDEV\OPSQLADMIN. Microsoft (R) SQL Server Execute Package Utility  Version 10.50.1600.1 for 64-bit  Copyright (C) Microsoft
    Corporation 2010. All rights reserved.    Option "    /CONNECTION" is not valid.  The command line parameters are invalid.  The step failed.,00:00:00,0,0,,,,0

  • How to install adobe flash player through command line with some script

    Hi Guys,
    Do you know how to install adobe flash player through command line with some script?
    Thanks,
    Galina

    Windows. I tried silent install  with "install_flash_player.exe /install" but it works only with one file that I downloaded from adobe.com - "install_flashplayer10_mssd_aih.exe". But it is possible to download this last file only one time, every next time it redirects me to download install_flash_player.exe file.

  • Simple command line parameter does not seem to work; options?

    All,
    I asked an earlier question about getting an application (Olyvia) to work as a remote app.  Specifically, we were having issues with it not wanting to run for more than one user at a time.
    I found that I needed to add the "-m" (multi-user switch) to enable it to run for more than one user at a time.  I tested this by logging on to the server by two different people, bringing up a command prompt, and adding the "-m"
    to execute line.  so, "xvViewer.exe -m"  Worked great.
    Unfortunately this solution does NOT work when setting the same "-m" option in the command line parameters "Always use the following command line parameters"
    I do note that the published app name is Olyvia, but the actual application file is "xvViewer" and is called an "alias."  I'm wondering if the parameter is not being passed to the actual executable?
    Am I going to have to create a vbscript/powershell/whatever that calls the executable with the correct parameter and publish that script instead?
    Thanks,
    GeoffW

    Hi,
    Generally by passing the command line it must work but if for any specific application you are facing any error then you can try for the script\batch file and then publish as RemoteApp and check the result.
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Command-line parameter won't work

    I am trying to use the oraxsl command-line processor to pass a parameter to a stylesheet. All the examples I have found for this format (courtesy of Steve Muench in various mailing lists) show the same format I am using (i.e. oraxsl -p name="Steve" datadoc.xml transform.xsl),
    yet the processor invariably replies "oraxsl: Missing <param list> after -p". To which I can only reply, "There are none so blind as those who will not see." I'm using Windows XP. Has anyone else had a similar experience?

    I have that problem using the XML Java route. The code works but the <xsl:parm name="p"/> does not get populated with the value passed on the querysttring of th ecalling jsp.
    If i hard code the value of p with text then the xslt runs properly.
    I will try the oracle command line function and see what it does as I did not know about it until today.

  • Microsoft (R) SQL Server Execute Package Utility Version 10.50.2500.0 for 64-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Argument "Data connector" for option "connection" is not valid. The command line parameters are invalid.

    sql server:- 2008 r2 stardard edition
    os:- 64
    Package is password procted.
    following is command line in ssis package .
    /FILE "E:\PostgressToSql_IPMS\PostgressToSql_IPMS\PostgressToSql.dtsx"
     /DECRYPT  /CONNECTION "Server.user";"\"Data Source=server;
    User ID=user;Provider=SQLOLEDB.1;Persist Security Info=True;
    Application Name=SSIS-Package-{DD33AC67-4A45-40D6-AF70-4BBD421931C1}BPOSQLDB01\BPOSQLDB01.log4BPO;
    Auto Translate=False;\"" /CONNECTION "server.conn 1";
    "\"Data Source=server;User ID=log4BPO;Initial Catalog=edb1;
    Provider=SQLOLEDB.1;Persist Security Info=True;Auto Translate=False;
    Application Name=SSIS-Package-{665E3825-6AFC-4DD3-ABC8-50B5F0F18EEB}server.conn 1;
    \"" /CHECKPOINTING OFF /REPORTING E
    Need change something? Seperate configuaration file required ?

    Hi Dinesh,
    Based on my research, the issue is caused by you are running a SSIS package with a connection manager that has a space-character in the connection name.
    To work around this issue, please refer to the following two suggestions:
    Rename the connection manager in THE package to not include certain special characters (spaces, dashes). Note that the connection manager name can be changed without having to edit any property of the connection string itself.
    Escape quote the connection name, such that
    /CONNECTION "server.conn 1";"..."
    becomes
    /CONNECTION "\"server.conn 1\"";"..."
    The following similar issue is for your reference:
    https://connect.microsoft.com/SQLServer/feedback/details/510869/dtexec-commandline-fails-when-connection-is-passed-to-commandline-and-connection-name-contains-a-space
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Console APP - Call function based upon a command line parameter

    I am writing an extrensible console ( interactive console ) application was thinking having my application read in the command, then look up which function to use to process its parameters.
    say the command the user types is "print Hello World"
    I would just grab the first parameter, recognize it as the print command , and then call a function in my class that prints out "Hello World" to the screen.
    Instead of doing a bunch of If statement to match the first argument to a recognized command, what I would like to do is have a type of Hash table that points to the correct function to process the command.
    So.. something like :
    String cmd = console.readline( "Enter your command" ); - get the users command
    "function = HashMap.get( cmd)" - get the function out of the hashmap
    "function( parameters )" - run the function
    the prompt for another command, as long as the last command wasn't "exit"
    I would have to check to make sure the command had a function mapped to it, but with this setup, all I do is update the table when I need to add a new command. and the function( method ) that processes it.
    Thanks!

    It sounds like you're describing the Command pattern. It normally goes something like this:
    interface Command {
        Object execute(String... args);
    Map<String, Command> commands = new HashMap<String,Command>();
    commands.put("print", new Command() {
        public Object execute(String... args) {
            System.out.print(args);
    // ... and more commands
    //.. then in your command-line UI, for example:
    BufferedReader in = new BufferedReader...
    String line;
    while((line = in.readLine()) != null) {
        String[] tokens = line.split();
        Command cmd = commands.get(tokens[0]);
        String[] args = take_subarray_of_tokens_starting_at_1_I_forget_easiest_way_to_do_that(tokens);
        Object returnval = cmd.execute(args);
        // maybe you'll want to do something with return val, or maybe it should be an int more like an exit val, whatever
    }Not tested but you get the idea.

  • Desktop command line parameter problem

    We have just completed an upgrade from Discoverer 4i to 10g. We use the desktop version installed on a windows 2000 terminal server to run a batch file nightly (using the windows task scheduler to call the batch file). This runs the reports, then exports them in xls format to a public directory. During my testing I installed the 10g desktop version on my win xp machine to test the command line capabilities - we have about 50 reports that run nightly, and everything ran fine. Now I have installed the 10g Desktop and Admin versions on the terminal server, and need to use this new version to run the reports nightly. I did the install as an admin, and I am running the scheduled task as an admin. The reports are failing, complaining about the parameter values. With the exception of the path to the dis51usr.exe file, I'm using the exact same command line on my pc as I'm using on the terminal server.
    Here's the command line I'm using on my pc, which runs fine:
    c:\oracle\BIToolsHome_1\bin\DIS51USR.EXE /connect it_reports/password@prod /opendb "Order Shipments" /parameter "From Date" "01-APR-2006" /parameter "To Date" "30-APR-2006" /parameter "Sales Territory" "North America" /export xls "\\docserve\rhonda\Discoverer\DiscovererReporting\SalesReporting\North America\Order Shipments Apr 2006.xls" /batch
    Here's the command line I'm using on the terminal server:
    d:\oracle10g\BIToolsHome_1\bin\DIS51USR.EXE /connect it_reports/password@prod /opendb "Order Shipments" /parameter "From Date" "01-APR-2006" /parameter "To Date" "30-APR-2006" /parameter "Sales Territory" "North America" /export xls "\\docserve\rhonda\Discoverer\DiscovererReporting\SalesReporting\North America\Order Shipments Apr 2006.xls" /batch
    This fails, with the following noted in the log file:
    4/25/2006 1:54:09 PM
    d:\oracle10g\BIToolsHome_1\bin\DIS51USR.EXE /connect it_reports/password@prod /opendb Order Shipments /parameter From Date 01-APR-2006 /parameter To Date 30-APR-2006 /parameter Sales Territory North America /export xls \\docserve\rhonda\Discoverer\DiscovererReporting\SalesReporting\North America\Order Shipments Apr 2006.xls /batch
    Invalid value "From Date" for parameter "01-APR-2006"
    Invalid value "To Date" for parameter "30-APR-2006"
    Invalid value "Sales Territory" for parameter "North America"
    4/25/2006 1:54:10 PM
    I've been trying to figure this out for a couple of days now. Just got my copy of the new Discoverer 10g Handbook in the mail today (great book, by the way!) - I was hoping it would shed some light on this problem, but I'm still stuck. I'm hoping I'm missing something really simple here, and appreciate any help I can get.
    Thanks
    Rhonda

    Hello Ott,
    Yes, I tried that, because that is what the error message indicates. I also tried using single quotes instead of double around the parameter names and/or parameter values, and using no quotes at all. The confusing thing is that the same command works on my pc installation. I have also looked at all the option settings between the 2 installations, and made sure they are the same. The only difference is the operating system - for the life of me I can't figure out why 10g would act any different than 4i installed on the same OS, or for that matter why 10g would act any different installed on XP vs Terminal Server. I've got to be missing something simple here.
    thanks
    Rhonda

  • Variable does not work for sqlplus (command line)

    Here is an select:
    variable x number;
    variable y number;
    variable a number;
    define x = 2000;
    define y = 2*1000;
    define a = &x+&y;
    select ener from adding where ener = &a;
    When I execute it under SQL*Plus Worksheet (client installed on my PC) then I get output:
    ENER
    4000
    1 row selected
    When I execute this same under command line sqlplus (under unix shell) then I get output
    old 1: select ener from adding where ener = &a
    new 1: select ener from adding where ener = 2000+2*1000
    no rows selected
    What is worng ?

    Nothing.
    Sqlplus is correct and sql worksheet is buggy.
    Define works with strings only. You cannot use it to calculate an expression.
    Apparently sql worksheet did calculate the expression, and sqlplus didn't, submitting it as a string.
    This is the expected behavior.
    This behavior can likely vary by version, so thank you for not providing version info.
    Will anything awful happen when you do, or is this just the lazyness epidemia in this forum?
    Sybrand Bakker
    Senior Oracle DBA
    Experts: those who did read documentation.

  • Could not call batch from command line processing

    I am experiencing a strange scenario where I am able to run the FR report by scheduling a batch in HFM and that creates RecRecon successfully. I am trying to do this as a batch script by using the command line script ScheduleBatch.cmd <xml file> <server name> <user name> <pass word>.
    This fails to create the report and I see an error message as below
    "Problem encountered in 'EMERALD/Admin/RecReport01'
    Error executing query: The member user Point of view for Year doesn't exist in this application"
    Can any one of you help me recover this issue?

    answered by support

  • How to break the command line in SAP scripts

    Hi,
      Can any one Please guide me how to continue the command line( /: ) of SAP SCPRIPT into multiple lines.
    Regards
    Kiran

    Hi Kiran,
    U can continue in the same line itself by pressing SHIFT+F8
    If u want it in the next line then u can give space in the tag column.
    Thanks,
    Vinod.

  • Emacs auctex menus empty when not opening file from command line

    I have got a problem with emacs/auctex.
    In a running emacs editor, if I am opening a .tex file out of the editor, the menus "LaTeX", "Command" and "Math" are empty. That is, upon clicking on them, there is no dropdown list:
    Example: http://img8.imageshack.us/img8/7285/ema … ommand.jpg
    If, however, I open a .tex file from the console by invoking emacs
    $ emacs file.tex
    the menus show up the way they should.
    My .emacs
    (custom-set-variables
    ;; custom-set-variables was added by Custom.
    ;; If you edit it by hand, you could mess it up, so be careful.
    ;; Your init file should contain only one such instance.
    ;; If there is more than one, they won't work right.
    '(inhibit-startup-screen t))
    (custom-set-faces
    ;; custom-set-faces was added by Custom.
    ;; If you edit it by hand, you could mess it up, so be careful.
    ;; Your init file should contain only one such instance.
    ;; If there is more than one, they won't work right.
    ;; Auctex
    (load "auctex.el" nil t t)
    (setq TeX-auto-save t)
    (setq TeX-parse-self t)
    (setq-default TeX-master nil) ; Query for master file.
    (setq TeX-PDF-mode t) ;; set pdflatex default, not latex
    (add-hook 'LaTeX-mode-hook 'LaTeX-math-mode) ;; set math mode
    What am I missing?
    Edit: I am running linux 2.6.31 x86_64, emacs 23.1-3, auctex 11.85-2
    Last edited by fubar0 (2009-10-22 22:44:48)

    Me too. Same kind of problem with Dired also: the menus are empty. I've even gone so far as to reinstall a fresh Archlinux, although not just for this purpose (I just had to try the Beta Fedora 12, but it crashed all over the place. It lasted about an hour on my machine). I know that if I had any business using Emacs I should know how to fix this, but I don't have a clue. It's been happening for a couple weeks now. And just to reiterate, this is a clean install, I haven't messed with it at all, I don't even have a custom .emacs to show. I haven't looked to see if this empty menu thing happens anywhere else or not--these are just the two things I use emacs for.
    I don't see a bug report for this, but I don't feel I have the qualifications to submit a good bug report, so I'm hoping someone qualified will hear our crys for help. Forgive my ignorance, this is my first time posting on here.

Maybe you are looking for

  • Issue in creating Master repository from ODI 11g

    Hi, I am unable to create a Master repository connection using ODI 11g from local machine. I am using Oracle server of 11g version and have Master and a Work repositories in it. When I was trying to create a connection using ODI 11g it is throwing me

  • Can't use Adobe Media Encoder CS5. It won't encode

    I'm following lessons on Flash Professional CS5 Classroom in a Book and I've just got stuck on lesson 8 because AME won't work. The program opens fine, but when a drag the penguin.mov to it, I get this message: ""Adobe Media Encoder Debug Event. Adob

  • New Macbook Pro Running Slow. What can I do?

    Hey there! I purchased a 15'' Macbook Pro about two months ago. I tried running Starcraft II on it, and it performed great. Then, while I was playing, it started running -really- well. I had maxed out all the settings, and somehow the framerate was a

  • Device detection problem after 3.1.2 update

    Hello, I am having some issues with my 3GS since the 3.1.2 update. Whenever I connect it to my Windows box, it will only be recognized from the iTunes application. Previously, it was also available as a camera device, which allowed me to manage the p

  • How to setup everything to start making mobiles games?

    I want to learn how to write applications/games for a HTC hero (and other mobile phones) in java me. I installed: - netbeans - mobility Version: 1.6.1 (I guess that is the same is java ME?) When I press: file/New Project Select "java me" Select "CDC