Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Panther FTP server

Panther FTP server
Thread Tools
bborofka
Forum Regular
Join Date: Sep 2000
Location: Chico, California
Status: Offline
Reply With Quote
Oct 26, 2003, 07:20 PM
 
I just want to run a simple FTP server on my Mac (using an account I've created on here) w/o having to use 3rd party software, but the FTP server in Panther still has chroot problems... this bug was there in Jaguar too... makes running an FTP useless unless you use something else.

Basically, anyone who connects has unlimited access to anywhere on my hard drive, but I just want to limit it to the account's directory (home, or even Shared if I could).

Is there a quick and easy fix for this?
     
Sarc
Mac Elite
Join Date: Sep 2001
Location: Chile
Status: Offline
Reply With Quote
Oct 26, 2003, 08:03 PM
 
Originally posted by eVo:

Basically, anyone who connects has unlimited access to anywhere on my hard drive, but I just want to limit it to the account's directory (home, or even Shared if I could).
this is true only for admin users ...
:: frankenstein / lcd-less TiBook / 1GHz / radeon 9000 64MB / 1GB RAM / w/ext. 250GB fw drive / noname usb bluetooth dongle / d-link usb 2.0 pcmcia card / X.5.8
:: unibody macbook pro / 2.4 Ghz C2D / 6GB RAM / dell 2407wfp - X.6.3
     
bonk
Junior Member
Join Date: Apr 2001
Location: Middle / East TN
Status: Offline
Reply With Quote
Oct 26, 2003, 08:25 PM
 
CrushFTP is a good ftp server app.
Dual 500 G4 :: 576mb :: 180gb (120+40+20)
17" PB G4 1.33 gHz :: 1gb :: 80 gb @ 5400rpm
     
kerrazyjoe
Fresh-Faced Recruit
Join Date: Feb 2003
Status: Offline
Reply With Quote
Oct 26, 2003, 08:51 PM
 
Originally posted by eVo:
I just want to run a simple FTP server on my Mac (using an account I've created on here) w/o having to use 3rd party software, but the FTP server in Panther still has chroot problems... this bug was there in Jaguar too... makes running an FTP useless unless you use something else.

Basically, anyone who connects has unlimited access to anywhere on my hard drive, but I just want to limit it to the account's directory (home, or even Shared if I could).

Is there a quick and easy fix for this?
In jaguar - I downloaded a version of lukemftpd did configure and make! It works with the latest changes - I wish apple would fix it. lujeftpd is the server used by apple!
"in the middle of the nite"
Joe
     
wulf
Grizzled Veteran
Join Date: Sep 2000
Location: London, UK
Status: Offline
Reply With Quote
Oct 26, 2003, 08:55 PM
 
Originally posted by Sarc:
this is true only for admin users ...
no, I can access the root directory from a non-admin login.

damn, I just assumed this would be fixed, looks like it's back to pure-ftpd...
     
piracy
Mac Elite
Join Date: Mar 2001
Status: Offline
Reply With Quote
Oct 26, 2003, 09:48 PM
 
Just make a file called /etc/ftpchroot.

In it, put each username you'd like restricted to their home directory. That's it.

When they log in, they'll see their home directory as /.
     
   
 
Forum Links
Forum 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 On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 09:07 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,