[robg adds: ftpchroot has a somewhat twisted history on OS X. It didn't exist in 10.0, was added in 10.0.2, and then was broken again in 10.2. Looks like it's back and functional now in 10.3...]
|
|
|
A quick note to let everyone know that ftpchroot now works by default in 10.3.
[robg adds: ftpchroot has a somewhat twisted history on OS X. It didn't exist in 10.0, was added in 10.0.2, and then was broken again in 10.2. Looks like it's back and functional now in 10.3...]
•
[10,410 views]
Hint Options
10.3: ftpchroot now works as expected
Erm, it's not in my path. Where is it?
10.3: ftpchroot now works as expected
D'OH!
10.3: ftpchroot now works as expected
I have been wanting to get this working for ages!! Please explain how to get ftp users chroot'ed if you have the time!!
10.3: ftpchroot now works as expected
Check this hint
10.3: ftpchroot now works as expected
by "works by default in 10.3" do you mean the file should already be there? It's not for me. I did the default upgrade to 10.3, not an archive/install.
10.3: ftpchroot now works as expected
This is a great hint! There are a couple of additional notes that I think may be useful. I have occasional use for chrooted ftp, but I use ssh constantly. On a system running both ftp and ssh services, a user added to
/etc/ftpchroot may have limited ftp capabilities, but they can still make an ssh connection and browse the file system as freely as their permissions will allow.The simplest method that I know for limiting a user's remote access to chrooted ftp is by changing the user's shell variable to /usr/bin/true. Doing so requires a couple of steps (I'm currently running OS X 10.3.4, though I'd imagine most of this is applicable to prior versions):
/etc/ftpchroot with their $SHELL set to true will have limited ftp access, but will not be able to ssh into your system.There is another method for accomplishing the same results that can be found here. What vogunaescht writes there works in Mac OS X 10.3, but I believe the /usr/bin/true to be more compatible with other systems since I've definitely used it with Linux. For whatever that's worth.---
10.3: ftpchroot now works as expected
Sorry about the "NetInfo Manager" URL stunt in item 2. It'll never happen again; I promise. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.41 seconds |
|