LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-15-2010, 07:49 AM   #1
raushendra
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, 08:55 AM   #2
alli_yas
Member
 
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:

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

Code:
# more /etc/vsftpd/user_list
root
#
3. Restart vsftpd

Code:
# /etc/init.d/vsftpd restart
Shutting down vsftpd: [  OK  ]
Starting vsftpd for vsftpd: [  OK  ]
And that should do it
 
Old 04-17-2010, 03:03 AM   #3
vickey_n
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

Hi
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
http://computernetworkingnotes.com/r...ion/vsftpd.htm
for
How to Configure linux ftp server step by step guide example and implementation


http://computernetworkingnotes.com/r...ion/vsftpd.htm
 
  


Reply


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


All times are GMT -5. The time now is 12:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration