X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fagentlessd%2Fscripts%2Fsu.exp;h=923c629d513cdfb8c16b249a3b0ed1551b573085;hb=HEAD;hp=dbb1cf9eb43ce0f6c159d78d7bbfc476fa392adc;hpb=6ef2f786c6c8ead94841b5f93baf9f43421f08c8;p=ossec-hids.git diff --git a/src/agentlessd/scripts/su.exp b/src/agentlessd/scripts/su.exp index dbb1cf9..923c629 100755 --- a/src/agentlessd/scripts/su.exp +++ b/src/agentlessd/scripts/su.exp @@ -1,18 +1,15 @@ #!/usr/bin/env expect -# @(#) $Id: ./src/agentlessd/scripts/su.exp, 2011/09/08 dcid Exp $ - # Agentless monitoring # # Copyright (C) 2009 Trend Micro Inc. # All rights reserved. -# +# # This program is a free software; you can redistribute it # and/or modify it under the terms of the GNU General Public # License (version 2) as published by the FSF - Free Software # Foundation. - # If su was chosen set timeout 10 if {[string compare $use_su "su;"] == 0} { @@ -30,7 +27,6 @@ if {[string compare $use_su "su;"] == 0} { } } - expect { "Permission denied" { send_user "\nERROR: Incorrect su password to host: $hostname .\n"