su Supported by Chilkat SSH for Linux/Unix Servers?

Question:

I don’t see anything in the documentation or examples to indicate that “su” is supported w/ SSH?  Is it possible to login to a user account and then “su” to root?

Answer:

“su” is a command just like any other Unix/Linux command. It is typed at the command prompt, it does something, and a response is written to standard output (possibly nothing more than new command prompt). Therefore, any example you see for starting a remote shell and running commands would apply with “su”.

To put it simply: Yes, “su” is supported because it’s a command just like “ls”, “cat”, etc.

Tags :