Re: Login, su to root, execute command (General questions)
Hi Shin,
The code you provided me with works on my side. It logs me in, executes su - , and lists the directory.
However, If I'm correct, you receive error WaitFor line, right after root password is sent. Perhaps the WaitFor is waiting for a wrong prompt? Can you try connecting to thta host using some other client (putty) and check what comes back as prompt?
Regards,
Damba
Hi, wodDamir
normal account prompt is $
root account prompt is #