Running file command using non-default shell?
I have WinSCP set up to use SCP on a secure server. I have configured it to do a "sudo su - userid" to open the file listings and to do the transfers. However, when i run a command, it seems to revert back to my "normal" user id to run the command.
Is there a way to have it use the same shell that it used to start the session?
Is there a way to have it use the same shell that it used to start the session?