LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem in configuring ftp server (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-configuring-ftp-server-802154/)

raushendra 04-15-2010 06:49 AM

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"

alli_yas 04-15-2010 07:55 AM

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 :)

vickey_n 04-17-2010 02:03 AM

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


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