LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-02-2005, 11:51 AM   #1
carlp
LQ Newbie
 
Registered: Jun 2005
Location: England
Distribution: Debian, Slackware, EnGarde, Ubuntu!
Posts: 7

Rep: Reputation: 0
Proftp assistance


Hi,

Sorry for posting what may seam as a real easy thing.. but I don't get proftp, and I've been asked to set it up in the following way:

I need a setup like

/ftproot [user: alligator - full access]
/ftproot/supplier1 [user: supplier1 - full access / alligator - full access ]
/ftproot/supplier2 [user: supplier1 - full access / alligator - full access ]
/ftproot/supplier3 [user: supplier1 - full access / alligator - full access ]
/ftproot/supplier4 [user: supplier1 - full access / alligator - full access ]
/ftproot/supplier5 [user: supplier1 - full access / alligator - full access ]
/ftproot/supplier6 [user: supplier1 - full access / alligator - full access ]
/ftproot/supplier7 [user: supplier1 - full access / alligator - full access ]
/ftproot/supplier8 [user: supplier1 - full access / alligator - full access ]
/ftproot/supplier9 [user: supplier1 - full access / alligator - full access ]
/ftproot/supplier10 [user: supplier1 - full access / alligator - full access ]
/ftproot/supplier11 [user: supplier1 - full access / alligator - full access ]
/ftproot/supplier12 [user: supplier1 - full access / alligator - full access ]
/ftproot/supplier13 [user: supplier1 - full access / alligator - full access ]
/ftproot/supplier14 [user: supplier1 - full access / alligator - full access ]
/ftproot/supplier15 [user: supplier1 - full access / alligator - full access ]

i.e. alligator can login as alligator and see all supplier subdirectories, but supplier logins can only see their home directories (chrooted)

Supplier 2 - 15 are different accounts.. Obviously.

How would I go about doing this? I've installed proftp by using apt-get install proftpd (im running debian from net-install)

Any one assist..

Cheers
 
Old 08-03-2005, 11:37 AM   #2
carlp
LQ Newbie
 
Registered: Jun 2005
Location: England
Distribution: Debian, Slackware, EnGarde, Ubuntu!
Posts: 7

Original Poster
Rep: Reputation: 0
anyone? :'(
 
Old 08-03-2005, 01:27 PM   #3
cyberhawk
Member
 
Registered: May 2003
Distribution: Slackware 10
Posts: 34

Rep: Reputation: 15
hi there carlp.

The one way that i know this can be done is to add a user for each of the ftp users you want and whilst creating them you make their home directory the /ftproot/supplierXXX directory. also create a usergroup for the suppliers and make them all members of that group.

this way when they log-in via ftp they wil be sent to there home directory, which would be /ftproot/supplierXXX.

to keep each supplier in their own directory you need to add the line

DefaultRoot ~ suppliers
if you made a supplier group then all suppliers logging in via ftp will be locked to their root directories.

another way would be to use virtual logins. i haven't tried this but i've read about it in the documentation for proftp.
you can look it up and see how to set that up. or search the forum and see if anyone here has done it that way and can show you how.
good luck
 
  


Reply



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
Need assistance please wennie Linux - Software 5 03-16-2005 07:24 AM
Need assistance spotslayer Linux - Software 1 11-18-2004 06:49 AM
Need assistance with Kernal, please. Zaphod-I Mandriva 12 11-09-2003 07:55 AM
Need Assistance Bizar Slackware 11 06-25-2003 09:10 PM
I need more assistance PLZ. CTBengoechea Linux - Newbie 9 10-15-2002 01:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:33 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration