3 # @(#) $Id: ./src/agentlessd/scripts/su.exp, 2011/09/08 dcid Exp $
7 # Copyright (C) 2009 Trend Micro Inc.
10 # This program is a free software; you can redistribute it
11 # and/or modify it under the terms of the GNU General Public
12 # License (version 2) as published by the FSF - Free Software
18 if {[string compare $use_su "su;"] == 0} {
28 send_user "\nERROR: Unable to run su.\n"
36 send_user "\nERROR: Incorrect su password to host: $hostname .\n"
40 send_user "\nERROR: Incorrect su password to host: $hostname .\n"
44 send_user "\nERROR: Incorrect su password to remote host: $hostname .\n"
48 send_user "\nERROR: EOF while running su on host: $hostname .\n"
52 send_user "\nERROR: Timeout while running on host: $hostname .\n"
56 send_user "\nINFO: su accepted.\n"