Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: PermitRootLogin = No ; switch user to root through WinSCP

ragingspeed wrote:

however we are afraid that this cannot solve our request... we wish to change the user to root through WinSCP in similar way as we do in the terminal emulator that is as follows ...

- login as sysadmin user (provide username and password)
- su - root
- provide root password

WinSCP cannot prompt for a root password due to constraints imposed by the SFTP/SCP protocols and su implementation. Otherwise the procedure is the same.
ragingspeed

Re: PermitRootLogin = No ; switch user to root through WinSCP

hi prikryl,

thanks for your feedback.

however we are afraid that this cannot solve our request... we wish to change the user to root through WinSCP in similar way as we do in the terminal emulator that is as follows ...

- login as sysadmin user (provide username and password)
- su - root
- provide root password

Thanks very much in advance for assistance... needless to say that such an option would very much greatly be of value for us




martin wrote:

Please read documentation:
https://winscp.net/eng/docs/faq_su

If that does not help, come back.
martin

Re: PermitRootLogin = No ; switch user to root through WinSCP

Please read documentation:
https://winscp.net/eng/docs/faq_su

If that does not help, come back.
ragingspeed

PermitRootLogin = No ; switch user to root through WinSCP

Hi,

Recently we had to implement a security policy where all our Linux servers have to have the following enabled ...

PermitRootLogin = No

As you know, this means that to access Root, we have to login with one of our Admin user names, then switch to root using su - root

Our question is, can we switch to root through WinSCP application after logging in with an Admin user? This is very important to us since we do have numerous instances where we have to use Root through WinSCP

Thanks a lot in advance for assistance and support