Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.