search for: send_us

Displaying 3 results from an estimated 3 matches for "send_us".

Did you mean: end_us
2013 Jul 18
1
if /else in expect script
...tatement in there based on success of the last command ($?) before it'll move the new sudoers file in place. I'm verifying it with visudo before attempting to make the move. I'd like to make the final move based on the success/failure of that. Anyway, here's the script: stty -echo send_user -- "Please enter the host: " expect_user -re "(.*)\n" send_user "\n" set host $expect_out(1,string) stty -echo send_user -- "Please enter your username: " expect_user -re "(.*)\n" send_user "\n" set username $expect_out(1,string) stty...
2003 Aug 13
1
automating smbclient tasks
Ladies and Gents, My project requires me to share IIS log files with my Linux box. The outcome of this solution is using Webalizer instead of horrid Webtrends. I have testing most of this procedure, Webalizer does great with the combined log files (using mergelog). In any case, I need to script the download of the files from one server to another. I use something of the following to connect
2003 Jan 02
0
Samba PDC passwd update to NIS server
...e 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 timeout -1 set username [lindex $argv 0] send_user "new" system stty echo expect_user -re "(.*)\n" set password $expect_out(1,string) send_user "OK\n" log_user 0 spawn $ssh $ypserver expect "<change to fit your system> :" send -- "passwd $username\r" expect -exact "passwd $username\r Ne...