LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-24-2010, 03:13 AM   #1
udham1985
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
Udham


Thanks in Advance
Udham
 
Old 11-24-2010, 05:06 AM   #2
kingston
Member
 
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, 05:14 AM   #3
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
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
Quote:
/etc/vsftpd/ftpusers

/etc/vsftpd/user_list
and restart vsftpd service
 
Old 11-24-2010, 05:20 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

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

Kind regards
 
Old 11-24-2010, 10:52 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

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

As above, it's not recommended (for security reasons) to allow root remote access by any means.
 
Old 11-24-2010, 10:57 PM   #6
forrestt
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.

HTH

Forrest
 
  


Reply



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 09:23 AM
remote connect using graphic mode! RHES 5 - from windows grigori Linux - Newbie 6 03-25-2009 06:43 PM
equivalent Linux command for windows start cmd alix123 Programming 4 11-16-2008 06:06 PM
Open a CMD on a remote Windows box from Linux? humbletech99 Linux - General 5 12-05-2007 08:16 AM
FTP: active and passive mode problem with some windows client tda71 Linux - Networking 2 06-14-2005 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:03 PM.

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