#!/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} {
}
}
-
expect {
"Permission denied" {
send_user "\nERROR: Incorrect su password to host: $hostname .\n"