Displaying 1 result from an estimated 1 matches for "force_conservative".
2003 Jan 02
0
Samba PDC passwd update to NIS server
...hangepasswd.exp %u
passwd chat = *new* %n\n *OK* *OK*
...
The needed changepasswd.exp script:
---
#!/app/expect/bin/expect -f
set ypserver "toor@<change to fit your system>"
set ssh "/usr/local/bin/ssh"
set passwd "/usr/bin/passwd"
# Don't change below
set force_conservative 1 ;# set to 1 to force conservative mode even if
;# script wasn't run conservatively originally
if {$force_conservative} {
set send_slow {1 .1}
proc send {ignore arg} {
sleep .1
exp_send -s -- $arg
}
}
set timeo...