PermitRootLogin = No ; switch user to root through WinSCP

Advertisement

ragingspeed
Joined:
Posts:
2
Location:
Malta

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

Reply with quote

Advertisement

ragingspeed
Joined:
Posts:
2
Location:
Malta

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.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,507
Location:
Prague, Czechia

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.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum