projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git]
/
src
/
agentlessd
/
scripts
/
su.exp
diff --git
a/src/agentlessd/scripts/su.exp
b/src/agentlessd/scripts/su.exp
index
7f9c0cf
..
923c629
100755
(executable)
--- a/
src/agentlessd/scripts/su.exp
+++ b/
src/agentlessd/scripts/su.exp
@@
-1,17
+1,15
@@
#!/usr/bin/env expect
#!/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.
# 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
# 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.
# Foundation.
-
# If su was chosen
set timeout 10
if {[string compare $use_su "su;"] == 0} {
# 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"
expect {
"Permission denied" {
send_user "\nERROR: Incorrect su password to host: $hostname .\n"