|
|
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:HintsNo new hintsComments 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.05 seconds |
|