VB.NET to use sudo command
I can sudo to the WinSCP app using by:
1. Run WinSCP app
2. File protocol - SCP
3. Advanced
4. Under Environment - SCP/Shell - Shell field -- type in sudo su - <name>
This will allow me to login correctly. I am trying to do the same in my VB.NET app as I need to run as that user. Please help. Thanks!
1. Run WinSCP app
2. File protocol - SCP
3. Advanced
4. Under Environment - SCP/Shell - Shell field -- type in sudo su - <name>
This will allow me to login correctly. I am trying to do the same in my VB.NET app as I need to run as that user. Please help. Thanks!