How to execute imqcmd w/o password prompt

I have set imq.passfile.enabled, imq.passfile.dirpath and imq.passfile.name parameters in the broker's config.properties but when i execute imqcmd, i still have to explicitly specify -passfile <filename>. How come the program is not reading from the config.properties? Or i have misinterpreted in the usage of the mentioned parameters?

The file config.properties in the broker's instance directory is used only by the broker.
imqcmd doesn't read this file. It is deliberately independent of the broker instance directory, so you can run it from any remote machine which has MQ installed, even if that machine can't see the instance directory of the broker it is connecting to.
Nigel

Similar Messages

  • How do I get a supervisor password prompt to appear so I can configure the BIOS?

    Question How do I access the BIOS setup on a Thinkpad T60? 
    AnswerTo access the BIOS setup,
    1. Press the F1 key when the system boots
    2. You'll be prompted for the password.
    3. Enter your Supervisor password at the prompt
    The Power on password prompt and the supervisor password prompt are the same 
    If a power on password was configured you would need to enter this afterwards, the same applies to HDD password.

    You'll never get a supervisor prompt- I have PWR ON, HDD and Supervisor PWD.- If I want to enter to sipervisor mode, I have to enter the Supervisor PWD when asked for the Power On PWD....really tricky...

  • How to stop the the icloud password prompt for an old email

    I desperately need help.  My iphone 4s can't be used because the icloud password prompt comes up every 2 seconds.  I had an old itunes account with an old email a long time ago and cancelled the email address. i.e I can't go back into it to read any emails anymore. PS I've never used an icloud account with this email address.
    For some reason my Iphone is prompting me to put in a password to sign into this icloud account with my old email address.  I try to cancel it but it just prompts me again 2 seconds later.  I now can't use my iphone becuase of this.
    I've log into all accounts (itunes/ipad/iphone/icloud) and looked at my Apply ID and passwords etc and all are the same, i.e the correct (newer) email address. I've tried to cancel the icloud account on my iphone but it wants the password for the icloud account with the old email and I never set up an account, so don't have anything to type in.
    It's saying my accounts not verified on my iphone and tries to send me an email to the correct email address to verify it but I never receive an email to this account to do that.
    Is there a way to cancel the old email account on itunes or some other magical trick to help me.
    Thankyou for your help in advance.
    Jodie

    I desperately need help.  My iphone 4s can't be used because the icloud password prompt comes up every 2 seconds.  I had an old itunes account with an old email a long time ago and cancelled the email address. i.e I can't go back into it to read any emails anymore. PS I've never used an icloud account with this email address.
    For some reason my Iphone is prompting me to put in a password to sign into this icloud account with my old email address.  I try to cancel it but it just prompts me again 2 seconds later.  I now can't use my iphone becuase of this.
    I've log into all accounts (itunes/ipad/iphone/icloud) and looked at my Apply ID and passwords etc and all are the same, i.e the correct (newer) email address. I've tried to cancel the icloud account on my iphone but it wants the password for the icloud account with the old email and I never set up an account, so don't have anything to type in.
    It's saying my accounts not verified on my iphone and tries to send me an email to the correct email address to verify it but I never receive an email to this account to do that.
    Is there a way to cancel the old email account on itunes or some other magical trick to help me.
    Thankyou for your help in advance.
    Jodie

  • How to hide Dynamic Parameter userid/password prompts on infoview

    Hi,
    I want to hide Userid/password for each dynamic parameter, which gets prompts while refreshing or scheduling a report
    I do enter userid and password at CMC->database level but when report has dynamic parameter it still does prompts for each parameter.
    Please advise.
    Megha

    I tried what you suggested..
    Well I run into different error now while refreshing report suing dynamic prompt.
    Error says 'List of Values failure: fail to get values.[Cause of error:Failed to the connetion.ProductName]
    ProductName is my dynamic Parameter.
    Please advise.
    thanks
    Megha

  • How to execute PL/SQL from DOS PROMPT?

    Hello:
    I've seen that executing an SQl script via DOS prompt involves @script name, however all this seems to do is open the line editor. A GET command displays my script and sets the cursor on the next available line with the last line of the script with an asterics beside it. as does using the @scriptname command. I cannot do any commands like SAVE, RUN, etc.
    Any help is appreciated.

    Do you have a final / in your script to execute it (which is presumably an anon pl/sql block).

  • How do I get past the password prompt with a locked iPhone?

    I updated to iOS7, and everything seemed fine. But then when the phone locked after a few minutes, it asked me for a password to unlock. I never used a password before. So the  phone is asking me for something I didn't have to do before. Now the phone remains in a locked state.
    I tried my Apple ID password, 0000, 1234, last four of my phone number, last 4 of my SSN, and nothing works. Has anyone else encountered this?
    The ultimate solution is to restore the phone to factory settings using iTunes, but that is pretty drastic, and besides, there is another little quirk about my phone that makes it not so easy -- I can't turn the phone off. The button on the top no longer works. I've learned to deal with that by just setting the phone to blank out after a minute, and of course when the new phone becomes available, I'm going to buy it, but in the meantime, the only way to turn the phone off is to let the battery discharge. So in order to restore to factory settings, I also have to let the phone discharge.

    Yes, I have the same problem! It is driving me crazy as I don't have a clue what code they want me to put in and now everytime I try a new one my phone is disabled and I have to wait half an hour until I can try another one! It's ridiculous!!!
    I am praying that someone finds a solution soon!!!

  • How to hold the value of a prompted password in a variable while file is open?

    I have this little VBA macro that uses ADODB to execute a SQL Server Agent job remotely.  It is in an Excel file, and there will be several other similar macros in the same Excel file.  They will be used at least 10 times, each time the user opens
    the Excel file.  If I leave it like this, the user will be prompted for the password every single time they run one of the macros.  How can I change it to instead prompt the user for the password value initially when they open the file, store it
    in a variable, and then utilize that variable value for the database connection every time they run one of the macros (to avoid repeated prompting)?  Also, are there any security concerns with my proposed approach?
    Sub Test_SSIS()
    Dim conn As Object
    Set conn = CreateObject("ADODB.Connection")
    conn.Provider = "sqloledb"
    conn.Properties("Prompt") = adPromptComplete
    conn.Open = "Data Source=MYSERVER;USER ID=JOHNDOE;"
    conn.Execute "exec msdb.dbo.sp_start_job 'Test_remote_job_execution'"
    End Sub

    One possibility is to use the workbook_open event to prompt for and store the password temporarily in the registry. Add the following code to the thisworkbook module of the workbook
    Option Explicit
    Private Sub Workbook_Open()
    Dim strPassword As String
    strPassword = GetSetting("myApp", "Config", "Password", "")
    If strPassword = "" Then
    strPassword = InputBox("Enter password")
    SaveSetting "myApp", "Config", "Password", strPassword
    End If
    lbl_Exit:
    Exit Sub
    End Sub
    Private Sub Workbook_BeforeClose(Cancel As Boolean)
    RegKeyDelete "HKEY_CURRENT_USER\Software\VB and VBA Program Settings\myApp\Config\"
    If RegKeyDelete("HKEY_CURRENT_USER\Software\VB and VBA Program Settings\myApp\") = True Then
    MsgBox "Password cleared"
    Else
    MsgBox "Password not stored"
    End If
    lbl_Exit:
    Exit Sub
    End Sub
    Function RegKeyDelete(i_RegKey As String) As Boolean
    Dim myWS As Object
    On Error GoTo ErrorHandler
    Set myWS = CreateObject("WScript.Shell")
    myWS.RegDelete i_RegKey
    RegKeyDelete = True
    Exit Function
    lbl_Exit:
    Exit Function
    ErrorHandler:
    RegKeyDelete = False
    GoTo lbl_Exit
    End Function
    Then modify your macro code as follows:
    Sub Test_SSIS()
    Dim strPassword As String
    Dim conn As Object
    strPassword = GetSetting("myApp", "Config", "Password", "")
    If strPassword = "" Then
    strPassword = InputBox("Enter password")
    SaveSetting "myApp", "Config", "Password", strPassword
    End If
    Set conn = CreateObject("ADODB.Connection")
    conn.Provider = "sqloledb"
    conn.Open "DATA SOURCE=MYSERVER;USER ID=JOHNDOE;Password=" & strPassword & ";"
    conn.Execute "exec msdb.dbo.sp_start_job 'Test_remote_job_execution'"
    End Sub
    The workbook must obviously be saved as macro enabled
    This will then prompt once when the workbook is opened. When the macro is run it will read the password from the registry thus not requiring a prompt, unless for some reason the password is missing or nothing has been entered as a value in the first box.
    When the workbook is closed, the workbook before close event deletes the registry entries completely.
    The only snag to this is if the workbook is crashed, the registry entry is not removed and there will be no prompt next time, until the workbook is closed correc tly. This might not be an issue, if the users don't know about it, so hide your code from them.
    Graham Mayor - Word MVP
    www.gmayor.com

  • How do i stop an old apple ID and password prompt from always popping up on my phone during normal use ?

    How do i stop an old apple ID and password prompt from popping up on my phone screen during normal operations ?

    How to change the Apple ID on my iOS Device
    Settings > iTunes & App stores.
    Tap your Apple ID, sign out then sign back in with new AppleID.
    Settings > Facetime.
    Tap your Apple ID, sign out then sign back in with new AppleID.
    Settings > Messages.
    Turn off iMessages, wait 10 seconds, then turn it back on.  Go to 'Receive messages at' and then tap your Apple ID.  Sign out of the old ID, then sign in with new Apple ID.
    Settings > iCloud.
    Delete the account (make sure to KEEP the information on your phone), then turn it back on with new Apple ID.
    Also, delete any apps that were downloaded with the 'old' Apple ID, then reinstall them with your 'new' ID.

  • How to avoid password prompt in shell script for zip password protection

    Hi
    I am trying to set password protection to my oracle database export backup. Once the backup completed, it should compress with a password protection. Thats the plan. Initialy we were using the gzip for the compression. Then realized that there is no password protection for the gzip. Started using zip option. I tried using
    zip -P <password> filename
    But it was throwing below error.
    -bash-3.2$ zip -P expreports REPORTS_2013FEB14.dmp
    zip warning: missing end signature--probably not a zip file (did you
    zip warning: remember to use binary mode when you transferred it?)
    zip warning: (if you are trying to read a damaged archive try -F)
    zip error: Zip file structure invalid (REPORTS_2013FEB14.dmp)
    Not quite sure why.
    Then I used zip -e REPORTS_2013FEB14.dmp.zip REPORTS_2013FEB14.dmp
    But this prompting for the password. As I am trying to put the command in the script. It will be tough if it prompts for the password.
    I would like to know how to avoid the password prompting by saving somewhere or how the code should be written. Tried using expect feature of shell script. Below was the code I tried. It didnt work.
    [oracle@SF40V6636 test]$ cat repexp.sh
    zip -e REPORTS_imp.log.zip REPORTS_imp.log
    expect "Enter password:"
    send "imprep"
    expect "Verify password:"
    send "imprep"
    So please help in avoiding this password prompt or let me know how to change the code.
    Thanks
    SHIYAS M

    How about using gpg and adding a secret key to the requirement of a password? No one should be able to decrypt your file, not by knowing only the password.
    1. Generate a public and private key pair:
    $ gpg --gen-key
    When it shows "We need to generate a lot of random bytes…" open another terminal session and type "dd if=/dev/sda of=/dev/null" to create traffic. When the public and secret key created and signed you can Ctrl-C the dd command.
    To see what you have created:
    $ gpg --list-keys
    2. Encrypt and gzip your stuff:
    $ tar zcf stuff.tgz file_or_folder
    $ gpg recipient "Some Name" encrypt stuff.tgz
    $ rm -f stuff.tgz
    3. Decrypt and extract the archive:
    $ gpg batch yes --passphrase "password" -d stuff.tgz.gpg > stuff.tgz
    $ tar zxvf stuff.tgz
    Again, knowing the password alone will not let anybody decrypt your stuff.

  • How to make dyn/admin not to prompt for username and password?

    Hello all
    How to make dyn/admin not to prompt for username and password? I am writing a selenium job to automate cache invalidation to load test a production issue we are facing. Selenium is opening a fresh firefox session and prompting for username and password every time. I am also trying to modify my script such that it will use the same session again and not prompt for username and password. But I thought of asking this question in the group.
    Your inputs will help a lot.
    Thanks,
    Sundar

    Hi,
    You can set enabled property of /atg/dynamo/servlet/adminpipeline/AuthenticationServlet/ to false. It will not prompt for authentication.
    Gopi

  • How to execute a Command Prompt command from J2SE code executing on Windows

    How to execute a Command Prompt command from J2SE code executing on Windows??
    Please help me

    [http://java.sun.com/docs/books/tutorial/getStarted/]
    ~

  • How to execute a Scenario from Windows CMD prompt

    Please can you let me know how to execute the Scenario from a Windows CMD prompt? I am not sure if it is any different from "ODIStartScen" command that ODI uses to execute the scenario.
    Appreciate your help.
    Regards
    B

    Hi SH,
    I tried running the scenario from the command line, but the process was not completed and it came back with the below message
    Session : 131774001 finished with return code : 7000
    Do I need to set up any environmental variables or any other setups before I can run the scenario from the command line?
    Appreciate your help.
    Regards
    B

  • How to prevent the regular password prompts when watching a movie on my MacBook Air?

    Hello everyone.
    I recently started renting movies from the iTunes store and watched them on my MacBook Air since I don't have an appleTV. (In fact on my TV connected via HDMI cable to the MacBook but I think that doesn't change the cause)
    Now every now and then a automatic password prompt kicks in overlaying the movie, so I have to stand up each time and type in the administrator password in the middle of the movie. This happens maybe about every 30-45 mins. Needless to say this is extremely unpleasant when watching a movie. Unfortunately I cannot tell you which programm causes the prompt since I always close all other programms other than iTunes.
    Is there a way to temporarily prevent all automatic password prompts?
    I hope you can help me,
    Greetings jonezdotcom

    This is taken from Mac Help.  It should guide you in solving your issue.
    Changing the way users log in
    You can require users to enter a password to log in to your computer, or you can turn on automatic login, which automatically logs in a specified user each time the computer starts up.
    Automatic login is useful if you’re the only person who uses your computer, and the computer is always in a safe and secure place. If you have more than one user account on your computer, or if you’re concerned about the security of information on your computer, you should require users to log in with a password. Automatic login is not available for accounts that are using FileVault encryption.
    If you require users to log in, you can change what they see in the login window. You can show a list of users with a picture next to each name and a place to enter the password, or require users to enter both their user name and password.
    To change the way users log in:
    Choose Apple menu > System Preferences and click Accounts.
    Open Accounts preferences
    Click the lock icon to unlock it, and then type an administrator name and password.
    Click Login Options.
    Do one of the following:
    To require users to log in whenever the computer starts up, choose Off from the “Automatic login” pop-up menu.
    To have the computer automatically log in to a particular account when the computer starts up, choose the account from the “Automatic login” pop-up menu, enter an administrator password, and click OK.
    IMPORTANT: Automatic login allows anyone to get immediate access to your computer simply by restarting it. If you turn on automatic login, make sure the computer doesn’t automatically log in to an account with administrator privileges.
    Next to the ”Display login window as,” select how you want the login window to appear:
    To have users select an account from a list in the login window, select “List of users.”
    To require users to type their user account name and password, select “Name and password.”
    To show each user’s password hint, select the “Show password hints” checkbox.
    If you turn on automatic login for yourself, the computer opens your account when it starts up. If you log out, other users see a login window to log in to their user accounts.
    The Login Options pane of Accounts preferences
    Use the Login Options pane of Accounts preferences to change the way the login window behaves to be more secure or set up the way users will log in to their accounts
    PREFERENCE EXPLANATION
    Automatic login
    To have the computer automatically log in to an account at startup, choose the account from the pop-up menu. This is less secure than requiring users to log in, since it allows anyone to use the computer just by turning it on.
    To require users to select an account and enter a password to log in, choose Off from the pop-up menu.
    Automatic login is not available for accounts that are using FileVault encryption.
    Display login window as
    Select “List of users” to have users choose their accounts from a list in the login window.
    Select “Name and password” to require users to type their name and password in the login window.

  • How do i disable password prompt at startup

    How do i disable password prompt at startup? And make it startup without a password
    Thanks...

    https://discussions.apple.com/message/12389771#12389771

  • How to avoid multiple password prompt for intarnet portal

    we have developed a intranet portal in Share Point 2013 with multiple site collection. when accessing through IE, Chrome, we can do settings to avoid multiple password prompt by adding the domain name of site in Trusted sites. How we can achieve the same in Safari while accessing through MAC or IPAD

    first time when you call the BSP application from the browser (or by double clicking the BSP_APPLICATION link from SAP GUI) you need to pass user credentials. For further windows this will not be required as browser will remember your info.
    if you need to <b>somehow</b> avoid this then the only option is to hard code the user id and password in the service in transaction SICF or by passing the same via URL.
    Another option is that if you port this application in a SAP portal environment, SSO can be used .
    Hope this helps.
    Regards
    Raja

Maybe you are looking for