LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 07-19-2004, 10:43 AM   #1
aikym1
LQ Newbie
 
Registered: Jul 2004
Posts: 4

Rep: Reputation: 0
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!!!

Aikym1
 
Old 07-19-2004, 10:54 AM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
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.
 
Old 07-19-2004, 11:46 AM   #3
aikym1
LQ Newbie
 
Registered: Jul 2004
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 07-19-2004, 01:57 PM   #4
aikym1
LQ Newbie
 
Registered: Jul 2004
Posts: 4

Original Poster
Rep: Reputation: 0
any more suggestions???? PLEASE HELP!!!!
 
Old 07-19-2004, 03:17 PM   #5
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Setting up new user accounts Veladrin Linux - Newbie 6 07-26-2004 12:16 PM
Basic Linux Networking and setting up ssh/telnet/ftp user accounts... timmy_laf Linux - Newbie 2 01-05-2004 02:07 AM
setting directory quotas and FTP server help kabir Linux - General 1 12-01-2003 07:17 AM
setting up accounts and partitions for FTP dkc_ace Linux - Software 7 01-10-2003 10:33 AM
wu-ftp - setting up guest accounts jim_cochran Linux - Newbie 2 04-04-2002 08:26 PM


All times are GMT -5. The time now is 10:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration