LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-18-2011, 03:31 AM   #1
soumalya
Member
 
Registered: Nov 2006
Posts: 260

Rep: Reputation: 31
ftp server


Sir

I have configured a ftp server in cent os, bu when I access ftp server from client machine using ftp://172.16.0.25 , it autometically opens, not login require. But I want user to put login in the login screen to access ftp from browser.

please help.
 
Old 06-18-2011, 03:42 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

What version of CentOS and what FTP server software have you installed? Those are the primary things you need to tell us before we can give a dedicated answer. Depending on what FTP software you installed, without changing the default configuration that came with the package, anonymous access will be enabled. So you'll have to configure your server.

Kind regards,

Eric
 
Old 06-18-2011, 05:16 AM   #3
splinux
Member
 
Registered: Jun 2011
Location: Sri Lanka
Distribution: centos,redhat,ubuntu
Posts: 90

Rep: Reputation: Disabled
EricTRA : Your are corect.. what is best vsftpd or proftpd or pureftpd ?
 
Old 06-18-2011, 05:26 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

I thought you already had some FTP software installed and only needed advice on how to set it up with authentication. So please tell us what you have installed in order to help you with your original question.

If you want to change FTP software and need to make a choice between the once mentioned then I'd say there is not much difference between them. If you want to use system users to allow access you can use either of those three. The only differences (if not solved already) are that ProFTPd and PureFTPd have vulnerabilities while vsftpd seems to be a lot more secure. I personally only have experience with vsftpd and am very pleased with it.

Kind regards,

Eric
 
Old 06-18-2011, 05:59 AM   #5
soumalya
Member
 
Registered: Nov 2006
Posts: 260

Original Poster
Rep: Reputation: 31
Sorry to all

My server is CentOS 5 and my previous problem is solve, now when I access my ftp site from linux client machine's browser, a login screen appear and I have to enter the login password to access but on the ftp page I gave got a link "Up to higher level directory" , when I click that linke I can access the all the directory of root. this is problem no1.

and 2 is no login screen popup in IE in windows client.

please solve these problems.

thanks in advance.
 
Old 06-18-2011, 06:01 AM   #6
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi soumalya,

Again, what FTP software are you using?

Kind regards,

Eric
 
Old 06-19-2011, 10:51 PM   #7
soumalya
Member
 
Registered: Nov 2006
Posts: 260

Original Poster
Rep: Reputation: 31
Sorry again

I am using VSFTPD.
 
Old 06-20-2011, 01:13 AM   #8
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Open /etc/vsftpd/vsftpd.conf in your favorite editor and change:
Code:
anonymous_enable=YES
to
Code:
anonymous_enable=NO
Restart vsftpd and anonymous login will be no longer available. If you want to know how to set up users, have a look at this page for an example or this site for a more in-depth configuration of vsftpd.

Kind regards,

Eric
 
1 members found this post helpful.
Old 06-21-2011, 04:17 AM   #9
beekley
LQ Newbie
 
Registered: Apr 2006
Posts: 12

Rep: Reputation: 0
Try something like this. chroot_list_enable=YES is the key to have the ftp client jailed to it's home folder.
Then add users that need to be jailed in file /etc/vsftpd.chroot_list
One username per line.


listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=002
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
chroot_local_user=NO
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/private/vsftpd.pem
 
  


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
file transfer from one ftp server to another ftp server divyashree Linux - Newbie 7 02-24-2010 02:48 AM
In plesk , I wish to have a backup cron job, ftp back up file to another ftp server? muskiediver Linux - General 6 07-16-2009 03:13 AM
files not visible in ftp site (but present in the /var/ftp/folder of the server) dongrila Linux - Newbie 2 12-23-2007 10:09 PM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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