From b7675da096c8be04f89b48c38a70127ae230bde6 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Wed, 29 Oct 2014 16:29:26 -0400 Subject: [PATCH 1/2] Update README.md Fixing search-n-replace error --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f5ccd38..d3523b30 100644 --- a/README.md +++ b/README.md @@ -390,7 +390,7 @@ The SSH protocol implementation of Overthere defines a number of additional conn suPasswordPromptRegex - The regular expression to be used when looking for su password prompts. When the connection type is set to INTERACTIVE_su, Overthere will look for strings that match this regular expression in the first line of the output of a command, and send the password if a match occurs. The default value is .*[Pp]assword.*: + The regular expression to be used when looking for su password prompts. When the connection type is set to INTERACTIVE_SUDO, Overthere will look for strings that match this regular expression in the first line of the output of a command, and send the password if a match occurs. The default value is .*[Pp]assword.*:
N.B.: This connection option is only applicable for the SU connection type. From f1bd028813fd7556517791c03b7e21454f6559c8 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Wed, 29 Oct 2014 16:33:36 -0400 Subject: [PATCH 2/2] Correct default value for suQuoteCommand See https://github.com/xebialabs/overthere/blob/master/src/main/java/com/xebialabs/overthere/ssh/SshConnectionBuilder.java#L314 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d3523b30..1eae69f1 100644 --- a/README.md +++ b/README.md @@ -408,7 +408,7 @@ The SSH protocol implementation of Overthere defines a number of additional conn suQuoteCommand - If set to true, the original command is added as one argument to the prefix configured with the suCommandPrefix connection option. This has the result of quoting the original command, which is needed for commands like su. Compare su -u privilegeduser start server1 to su privilegeduser -c 'start server1'. The default value is false. + If set to true, the original command is added as one argument to the prefix configured with the suCommandPrefix connection option. This has the result of quoting the original command, which is needed for commands like su. Compare su -u privilegeduser start server1 to su privilegeduser -c 'start server1'. The default value is true.
N.B.: This connection option is only applicable for the SU connection type.