diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:54:09 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:54:09 +0000 |
commit | 1654da5838d87e37b18f17c20723110adff0edd9 (patch) | |
tree | d338e64c26d86c31821227b5e62daf1144fdd1f1 /expect-5.45-passmass-su-full-path.patch | |
parent | 7ff7f4d65c761776cfc1232d691c16250a649d5f (diff) |
automatic import of expectopeneuler24.03_LTS
Diffstat (limited to 'expect-5.45-passmass-su-full-path.patch')
-rw-r--r-- | expect-5.45-passmass-su-full-path.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/expect-5.45-passmass-su-full-path.patch b/expect-5.45-passmass-su-full-path.patch new file mode 100644 index 0000000..6febf94 --- /dev/null +++ b/expect-5.45-passmass-su-full-path.patch @@ -0,0 +1,12 @@ +diff -up expect5.45/example/passmass.orig expect5.45/example/passmass +--- expect5.45/example/passmass.orig 2011-09-06 13:04:41.439875491 +0200 ++++ expect5.45/example/passmass 2011-09-06 13:04:54.663874571 +0200 +@@ -178,7 +178,7 @@ for {set i 0} {$i<$argc} {incr i} { + } + + if ($su) { +- send "su -\r" ++ send "/bin/su -\r" + expect -nocase "password:" + send "$password(old)\r" + expect "# " |