Re: Login, su to root, execute command - WeOnlyDo Discussion board

Re: Login, su to root, execute command (General questions)

by wodDamir, Tuesday, May 27, 2008, 09:26 (5815 days ago) @ shin

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


Complete thread: