Hi.
The {DELAY} in the macro has no effect. Whether 300ms or 15000ms - it flies by in a µs.
Bug in the program or something needs to be set?
Version Free 2022.3.30.0 64bit
Greets
Tadeusz
Hello,
In which type of session are you using that macro? Also, could you send in the full command that you are trying to use?
Best Regards,
Etienne Lord
Hi,
sure.
It's default SSH-Session with my Creds, then I need root.
su -
{DELAY}$MACRO_PASSWORD$
Even if I set "delay" about 15000ms I have on screen something like this:
bzyk@lx01$ su - mySecretP4ss Password:
Greets
Tadeusz
Hello,
Just to confirm, are you using the Post Login command or the Event tab to send your macro.
Best Regards,
Etienne Lord
Hello,
I'm using "After Open"-Macro on Events tab.
Greets
Hello,
In the SSH entry, could you try the "post login command" feature, there is an "expected prompt" field that is designed to help in this kind of situation. If you set the expected prompt to "Password:", it tells RDM to only send this macro when RDM detects the "Password:" prompt, which seems to be what you would be looking for!
Best Regards,
Etienne Lord
Hello,
well, looks good. I didn't know, what "expected prompt" meant. And that is actually "$" for BASH user, "#" for root, and i.e. "*" for bacula-console.
Thank you very much!
Step.1
Command: su - Expected prompt: $
Step 2
Command: $MACRO_PASSWORD$ Prompt: Password:
Greets
Tadeusz
Hello,
Glad to hear that it's working for you! Let us know if you have any other questions!
Best Regards,
Etienne Lord