X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fagentlessd%2Fscripts%2Fsu.exp;h=923c629d513cdfb8c16b249a3b0ed1551b573085;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=7fb22e27aa1b8e62b884fe82835703ae971fc556;hpb=301048b51990573e58a30dc4a5bb4ec285cad554;p=ossec-hids.git diff --git a/src/agentlessd/scripts/su.exp b/src/agentlessd/scripts/su.exp index 7fb22e2..923c629 100755 --- a/src/agentlessd/scripts/su.exp +++ b/src/agentlessd/scripts/su.exp @@ -1,17 +1,15 @@ #!/usr/bin/env expect -# @(#) $Id$ # 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} { @@ -29,7 +27,6 @@ if {[string compare $use_su "su;"] == 0} { } } - expect { "Permission denied" { send_user "\nERROR: Incorrect su password to host: $hostname .\n"