Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37503589
en ru br
ALT Linux repos
S:5.45.4-alt4
5.0: 5.44-alt3
4.1: 5.44-alt2
4.0: 5.43-alt3
3.0: 5.43-alt1

Other repositories
Upstream:5.44.1

Group :: Development/Tcl
RPM: expect

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: expect-5.45-passmass-su-full-path.patch
Download


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 "# "
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin