unable to use sudo on Solaris 10

Advertisement

chewy1101
Joined:
Posts:
1
Location:
US

unable to use sudo on Solaris 10

Hello,

I'm having trouble using sudo to connect to SunOS 5.10 through my WinSCP 5.5.6. I have no problem connecting through putty then running the sudo su - "xxxx" (where xxxx is the sudo id) command to connect the sudo id. However, when I try to setup my WinSCP to connect through SCP or SFTP protocol, I'm not able to.

Here are few attempts I done:

Attempt-1:
.WinSCP File Protocol: SCP,
.Advanced Setting:Environment:SCP/Shell: sudo su - xxxx
.All other settings are default
Results: Error, Connection has been unexpectedly closed. Server sent command exit status 127. Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).

Attempt-2:
.WinSCP File Protocol: SFTP,
.Advanced Setting:Environment:SFTP: SFTP server: Default
.Advanced Setting:Environment:Shell: Shell: sudo su - xxxx
.All other settings are default
Results: I can login fine, but when i try to access 'xyz' directory I get error. Error, Error listing directory '/abc/xyz'. Permission denied. Error code: 3. Error message from server: Permission denied.



Any Help from anyone is appreciated

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum