Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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 vsFTPd working on my debian server and I like it. It has no problems that I can find right now only because I have anonymous logins disabled and my wofe and I are the only ones with user accounts on the server who login and transfer files.
Now my question...
How can I set up my ftp site like this link?
As you can see it requires no login and just takes you right to the file structure. I don't think this is a anonymous login because it treats it just like a open web URL rather than trying to throw up login info. If I wanted to open a section on my server like the link above to pubicly share some data / photos, how would I go about doing so?
Originally posted by wym you need to enable anonymous login to make it a public ftp site. after doing this, your site will be exactly like the slackware site.
Are you sure? I would assume you would still get the login box and just have to type in user name = anonymous and no password.
I will give it a shot and see non the less.
Originally posted by Carlwill Are you sure? I would assume you would still get the login box and just have to type in user name = anonymous and no password.
I will give it a shot and see non the less.
Yes, I am very sure. Browsers' default login to a ftp site is anonymous, if default login succeed, they don't give a login box.
Right now my FTP like I said has anonymous logins disabled. I only have 2 users on my Linux machine so when either one of use go to the FTP address, after we login, we are limited to our own home directories. If I take of the restriction for anonymous logins, and then my FTP URL resolves straight to where ever with no login page, what directory is it accessing from my FTP server? If we are logged in anonymously, where exactly are we on my Linux box? I would not know where to put files and how far an anonymous user is restricted in the directory tree.
In Redhat 8, anonymous root is /var/ftp/, anonymous can not change their root directory. So don't worry, the highest level of directory which anonymous can reach is here, it is safe.
If you want to share files to anonymous, put them to /var/ftp/pub/
By default, after local users (shell users) login ftp, they are brought to their own home directory, such like /home/wym, but
they can chroot to anywhere they are permitted locally, unless you specify this in /etc/vsftpd.conf
I think in mine it would be /home/ftp. When I installed vsFTPd on my debian machine, I think it created an ftp user and I think that is as far as it can go...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.