Download your favorite Linux distribution at LQ ISO.
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 04-15-2010, 06:49 AM   #1
LQ Newbie
Registered: Apr 2010
Posts: 3

Rep: Reputation: 0
problem in configuring ftp server

i want to change in configuration file of ftp server i.e.'vsftpd.conf' for download and upload by root user is enabled .
so tail me what changes is occured in configuration file of "ftp server"
Old 04-15-2010, 07:55 AM   #2
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Hi raushendra

Typically you would not use root for this purpose (but some other user on your box); but here's how you could do this with vsftpd for Redhat/Fedora (other distro's may have subtle differences):

1. Add the following lines to your vsftpd.conf:

2. In /etc/vsftpd/ there should be a file called user_list (if not create it). Make sure that root is within this file:

# more /etc/vsftpd/user_list
3. Restart vsftpd

# /etc/init.d/vsftpd restart
Shutting down vsftpd: [  OK  ]
Starting vsftpd for vsftpd: [  OK  ]
And that should do it
Old 04-17-2010, 02:03 AM   #3
LQ Newbie
Registered: Nov 2009
Posts: 21
Blog Entries: 1

Rep: Reputation: 3
How to configure linux ftp server step by step guide Example and Implementation

It's not suggested to use ftp for root but if really want to enable root user for ftp then
open file /etc/vsftpd/ftpusers . Users whose name are set in this file will not allowed to login from ftp.
By default this file have an entry for root that why root are not allowed to use ftp. remove root from list
Now remove entry form /etc/vsftpd/user_list files. Users whose names are set in this file are also not allowed to login from ftp even they are not prompt for password.
After saving change in these files restart the vsftpd service

If still have problem
then follow this link
How to Configure linux ftp server step by step guide example and implementation


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
configuring ftp server amit_kalipur Linux - Server 2 04-02-2009 07:36 AM
NEED help configuring ftp server bob3dan Fedora 3 04-16-2007 10:13 PM
Configuring a FTP Server dooger80 Linux - Software 4 11-23-2004 04:50 AM
problems configuring ftp server Goo Linux - Software 3 09-19-2004 07:03 PM
Configuring a FTP server on linux... MrCarl Linux - General 11 03-27-2004 06:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:46 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