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: No root login

Anonymous wrote:

Ok, so you enter the shell command in WinSCP, make sure that you can 'sudo su' without being prompted for a root password, you start a WinSCP session by logging in through a non-priviliged account... and then what?

Nothing. That's it. You should be logged in as a root.
Guest

Re: No root login

martin wrote:

I configured my system exactly according to your suggestions prikryl, spent hours, but my connection still times out when I get to 'sudo su'. I am a programmer/developer and admin on several servers, but could not figure this out. Would you mind, just for us lowly mortals, kindly put together a DETAILED step-by-step instruction that is more specific than the very vague FAQ you always refer to?

Sorry, I'm not an unix expert. I do not know how to help you further. Maybe someone else...


Ok, so you enter the shell command in WinSCP, make sure that you can 'sudo su' without being prompted for a root password, you start a WinSCP session by logging in through a non-priviliged account... and then what?

Thanks.

Zsolt
martin

Re: No root login

I configured my system exactly according to your suggestions prikryl, spent hours, but my connection still times out when I get to 'sudo su'. I am a programmer/developer and admin on several servers, but could not figure this out. Would you mind, just for us lowly mortals, kindly put together a DETAILED step-by-step instruction that is more specific than the very vague FAQ you always refer to?

Sorry, I'm not an unix expert. I do not know how to help you further. Maybe someone else...
Guest

Re: No root login

martin wrote:

I logged in to my internet server with putty and did the super user thing, but when I start WinSPC on my client I still have no permissions. How did you manage to get the permissions ?

Have you read the mentioned FAQ?


I configured my system exactly according to your suggestions prikryl, spent hours, but my connection still times out when I get to 'sudo su'. I am a programmer/developer and admin on several servers, but could not figure this out. Would you mind, just for us lowly mortals, kindly put together a DETAILED step-by-step instruction that is more specific than the very vague FAQ you always refer to?

THANKS!!!

Zsolt
martin

Re: No root login

I logged in to my internet server with putty and did the super user thing, but when I start WinSPC on my client I still have no permissions. How did you manage to get the permissions ?

Have you read the mentioned FAQ?
Guest

Re: No root login

I logged in to my internet server with putty and did the super user thing, but when I start WinSPC on my client I still have no permissions. How did you manage to get the permissions ?

Regards,
Frank







shahidr100 wrote:

Hi
I frequently need to download and upload files to and from a Linux Server.

Root login is disabled at Linux server so I have to login as a normal user and then go to super user to come to root. After that I do a WinSCP session and transfer files. This whole process is bit cumbersome.

Isnt there any method in WinSCP through which I can do it at one go and I do not have to log in to linux server first to allow root login and then login thru winscp.

Thank you
shahidr100

Re: No root login

shahidr100 wrote:

martin wrote:

Please read FAQ.


Hello,

Thanks for your reply, however, the method specified in faq is not working. I tried it couple of times. I am allowed to sudo from command line easily.

Please help.


Hi,

Its working now. Actually I didnt select "SCP" as a protocol that is why it was not working.

Thank you so much.
shahidr100

Re: No root login

martin wrote:

Please read FAQ.


Hello,

Thanks for your reply, however, the method specified in faq is not working. I tried it couple of times. I am allowed to sudo from command line easily.

Please help.
martin

Re: No root login

Please read FAQ.
shahidr100

Re: No root login

martin wrote:

How do you allow WinSCP to login as root?


To allow root login to WinSCP, first i login to the linux server as a normal user using putty. Then I do a super user. Edit the sshd_config file to allow root login. Then I restart the sshd daemon. Then i log off from Putty. Now I log in as root using Winscp.

Shahid
martin

Re: No root login

How do you allow WinSCP to login as root?
shahidr100

No root login

Hi
I frequently need to download and upload files to and from a Linux Server.

Root login is disabled at Linux server so I have to login as a normal user and then go to super user to come to root. After that I do a WinSCP session and transfer files. This whole process is bit cumbersome.

Isnt there any method in WinSCP through which I can do it at one go and I do not have to log in to linux server first to allow root login and then login thru winscp.

Thank you