Jump to content

HOW TO - Setup Snow Leopard FTP Server


  • Please log in to reply
4 replies to this topic

#1
FKA

FKA

    are we there yet?

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,626 posts
  • Gender:Male
I take no credit for this, the method comes from my good friend Radial :P

This will allow you to setup Snow Leopard FTP server giving remote access to an FTP folder in Users/Shared/FTP

--------------------------------------------------------------------------------------------------------
BOLD = input

username = name of the account.


1. Create Standard user in System Preferences > Accounts

2. Use terminal for the following:

cd /Users/Shared

mkdir FTP

sudo chown -R username:staff ./FTP <--- replace username with name you created in Accounts

sudo chmod -R 777 ./FTP

touch ./FTP/ftpworking <--- This is just so when you login later you can tell you are logged in to the correct dir, you can delete when done.

sudo nano -w /etc/ftpchroot and enter * then press CTRL+X and press Y to save <-- This locks the user to their home dir.


3. Right click username in System Preferences > Accounts and select Advanced Options


4. Change Home Directory to /Users/Shared/FTP and click OK


5. Enable FTP in System Preferences > Sharing


6. Add /Users/Shared/FTP to Shared Folders and remove any other and add users/ set permissions as required


7. Use Terminal to login as the user to make sure all is ok:


ftp 127.0.0.1 21 and input username & password as requested


ls -l to do a directory listing


If all is ok you will see the file ftpworking you created above.


Type bye to logout of the server

---------------------------------------------------------------------------------------------------------------------------

Enjoy !

D :D


#2
Radial

Radial

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
It's dirty, but it works :wacko: Glad you got sorted mate.

R.

#3
FKA

FKA

    are we there yet?

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,626 posts
  • Gender:Male

It's dirty, but it works :wacko: Glad you got sorted mate.

R.


Thanks to you dude!

LOL - 6 posts in 4 years :P

#4
Radial

Radial

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
Yeah, really pushing the boat out aren't I?!? I guess I'm just a forum voyeur :D

#5
FKA

FKA

    are we there yet?

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,626 posts
  • Gender:Male

Yeah, really pushing the boat out aren't I?!? I guess I'm just a forum voyeur ;)


nowt wrong with that.
you've taught me enough face to face on those quiet weekend shifts - or is that more like I've badgered you to death when you're trying to enjoy a bit of peace and quiet ! :D





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy