3 # @(#) $Id: su.exp,v 1.5 2009/06/24 17:06:21 dcid Exp $
6 # Copyright (C) 2009 Trend Micro Inc.
9 # This program is a free software; you can redistribute it
10 # and/or modify it under the terms of the GNU General Public
11 # License (version 3) as published by the FSF - Free Software
17 if {[string compare $use_su "su;"] == 0} {
27 send_user "\nERROR: Unable to run su.\n"
35 send_user "\nERROR: Incorrect su password to host: $hostname .\n"
39 send_user "\nERROR: Incorrect su password to host: $hostname .\n"
43 send_user "\nERROR: Incorrect su password to remote host: $hostname .\n"
47 send_user "\nERROR: EOF while running su on host: $hostname .\n"
51 send_user "\nERROR: Timeout while running on host: $hostname .\n"
55 send_user "\nINFO: su accepted.\n"