Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-24-2010, 04:13 AM   #1
LQ Newbie
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
Not able to connect Linux from windows ftp through cmd mode

Hello All,

I am new to linux administration. I just created a linux server. I can use FileZilla, winscp and etc.. to file transfer using user "root" . When i run ftp cmd from windows commend prompt, it shows "530" Permission Denied Error. how can i give grant access to user "root" to access ftp via cmd prompt. I could connect ftp from windows cmd prompt by creating temporary user, but user "root" can not able to log in.

Thanks in Advance

Thanks in Advance
Old 11-24-2010, 06:06 AM   #2
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

Rep: Reputation: 21
you need to install vsftpd*.rpm in your linux box (i guess you are using RHEL 5) And it is not recommended to allow root to have the ftp access. But still you can do that, by editing the /etc/vsftpd/ftpaccess and ftpusers file.
Old 11-24-2010, 06:14 AM   #3
Senior Member
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,145
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Its not recommended to login as root via ftp.

Still you want to access ftp via root user then

comment root in the two files given below

and restart vsftpd service
Old 11-24-2010, 06:20 AM   #4
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
but user "root" can not able to log in.
Why would you want to login as root?

Kind regards
Old 11-24-2010, 11:52 PM   #5
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,452

Rep: Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402Reputation: 2402
winscp = scp = port 22. It's possible that Filezilla is also using port 22 (= ssh/scp/sftp).
ftp is on ports 20, 21.

As above, it's not recommended (for security reasons) to allow root remote access by any means.
Old 11-24-2010, 11:57 PM   #6
Senior Member
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
Forget "Why would you want to login as root?" you need to ask "Why would you want to use ftp?" It is an insecure protocol that cannot be secured and has much better alternatives. I would suggest you run an sshd daemon on your Linux box and look for ssh clients for Windows.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connect from linux to ftp windows server draganradosav Linux - General 1 11-20-2009 10:23 AM
remote connect using graphic mode! RHES 5 - from windows grigori Linux - Newbie 6 03-25-2009 07:43 PM
equivalent Linux command for windows start cmd alix123 Programming 4 11-16-2008 07:06 PM
Open a CMD on a remote Windows box from Linux? humbletech99 Linux - General 5 12-05-2007 09:16 AM
FTP: active and passive mode problem with some windows client tda71 Linux - Networking 2 06-14-2005 09:31 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration