Topic "No root login"

Author Message
shahidr100
[View user's profile]

Joined: 2007-02-25
Posts: 4
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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
How do you allow WinSCP to login as root?
_________________
Martin Prikryl
shahidr100
[View user's profile]

Joined: 2007-02-25
Posts: 4
prikryl 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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Please read FAQ.
_________________
Martin Prikryl
shahidr100
[View user's profile]

Joined: 2007-02-25
Posts: 4
prikryl 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.
shahidr100
[View user's profile]

Joined: 2007-02-25
Posts: 4
shahidr100 wrote:
prikryl 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.
Guest




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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Quote:
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?
_________________
Martin Prikryl
Guest




prikryl wrote:
Quote:
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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Quote:
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...
_________________
Martin Prikryl
Guest




prikryl wrote:
Quote:
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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License