Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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 need help in setting up anonymous ftp using wu-ftp.
I have the box up and running. I want anonymous users
to upload content but not able to make changes to current
uploads from other guest. When real users log in I want
all users to be able to access uploads from guest users.
Real users should have access only to their directories.
yeah u r right im setting up pretty much standard rights .. i have 2 questions sir maybe you or the forum can answer.
1st, how i do i create an anonymous login? Do i create login just like a standard John Doe login?
It is suggested that anonymous ftp should belong to a separate group than regular or real users ftp.
2nd question: When an anonymous user logs in and uploads a document, and the file is saved in the home/ftp/incoming directory. How do i setup all real users accounts where they can access new files from anonymous or guest users. I have an idea to use symbolic links but not really knowledgeable yet on implementing.
Anonymous FTP
Setting up anonymous FTP is simple. All you need to do is install the anonftp RPM package (which you may have already done at install time). Once it is installed, anonymous FTP will be up and running.
There are a few files you might wish to edit to configure your FTP server.
/etc/ftpaccess
This file defines most of the access control for your FTP server. Some of the things that you can do are: set up logical "groups" to control access from different sites, limit the number of simultaneous FTP connections, configure transfer logging, and much more. Read the ftpaccess man page for complete details.
/etc/ftphosts
The ftphosts file is used to allow or deny access to certain accounts from various hosts. Read the ftphosts man page for details.
/etc/ftpusers
This file lists all the users that are not allowed to FTP into your machine. For example, root is listed in /etc/ftpusers by default. That means that you cannot FTP to your machine and log in as root. This is a good security measure, but some administrators prefer to remove root from this file.
I have a grasp with general ftp setup, however i dont quite understand that in the ftpaccess file, if thats where u
setup anonymous permissions, how do put restraints on anonymous logins if a user logon is not created and anonymous is assigned to a specific group. For instance we usually assign real users account with the following:
Now once this is created when anonymous login, any password can be entered and they should gain access right? Regardless of the fact that password has been established for anonymous.
If i can get pass this misunderstanding i will have a sound ftp site.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.