1834136 Members
2485 Online
110064 Solutions
New Discussion

auto rexec

 
steven chang_1
Regular Advisor

auto rexec

helo:
would anybody test auto rexec remote machine? I mean that writing a script and
auto feed it the password. I already test
the interactive function of ksh and expect, but
when I feed the password , rexec would think the authentication failed.I try every carriage return /r , /n , or throgh ctrl-v&ctr-M.It doesn't work . If anybody ever succeeded before, please tell me that how to write the
carriage return. Thank you very much!!!

steven chang
steven
1 REPLY 1
john korterman
Honored Contributor

Re: auto rexec

Hi,
if it is just a matter of producing a carriage return character in a script, then try this with the backslash:

# echo "\n"

regards,
John K.
it would be nice if you always got a second chance