X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fagentlessd%2Fscripts%2Fsu.exp;h=923c629d513cdfb8c16b249a3b0ed1551b573085;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=7f9c0cfc20d1268f79c01053df025d2aabdbac3d;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git diff --git a/src/agentlessd/scripts/su.exp b/src/agentlessd/scripts/su.exp index 7f9c0cf..923c629 100755 --- a/src/agentlessd/scripts/su.exp +++ b/src/agentlessd/scripts/su.exp @@ -1,17 +1,15 @@ #!/usr/bin/env expect -# @(#) $Id: su.exp,v 1.5 2009/06/24 17:06:21 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 3) as published by the FSF - Free Software +# 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"