need help setting up ftp user accounts and directory structures
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
need help setting up ftp user accounts and directory structures
I am running ProFtpd on a Debian/Linux Server. I want to set up user accounts and passwds for each user to be able to download specific files from their own directories (and only their directories) that I upload. I dont want anonymous logins and want each user to be chroot'd in their own directory structure. PLEASE HELP!!!
Edit the configuration file relative to pro, should be simple. Every option you need is there, chrooting, download, no anonym, etc...
Look at /etc/proftpd.conf, maybe its there.
I run pure-ftpd and its that simple.
I have modified my proftpd.conf file to chroot users and disallow anonymous logins. I created a user group and shared directory call /home/ftp-users. I made a dir called /home/ftp-docs, did a chmod 750 on /home/ftp-docs and chown root: ftp-users /home/ftp-docs. I can't seem to view the user directory. i see the users listed in the passwd file. how do i set up directory structures like: /home/ftp-docs/TN0100/jul2004/bills with only the user being able to access his specific directories and files.
Instead of creating new dirs in /home, create links to dirs which you want the users to have access to. the chroot feature keeps working but follows links. You can even tell pro how to deal with symlinks in its conf file.
Do you know ssh? Can't you use it, instead of ftp? Much more secure.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.