This simply goes into interactive mode without collecting the root pw in the script.send -- "su\r" interact -nobuffer "\r" return
~~
naChoZ
In reply to Re: Expect module & su
by naChoZ
in thread Expect module & su
by jcpunk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |