PDA

View Full Version : ftp access to server


Dogcow
02-06-2002, 04:44 AM
FTP under OS X client allows a user to traverse his entire computer if he has the rights to do so. OS X server does not have this set my default. If I log in with my user and want to be able to upload and download files into the /WebServer/Documents/ folder, how would I get to it? I can't get outside of the users folders.

Thanks

Dr-NiKoN
02-06-2002, 08:01 AM
This is a safety feature in OS X Server.
You could probably un-chroot the ftp-server in OS X Server, thus making your Server a little voulnerable.

A much better option would be to use SSH.
Just SSH to your OS X Server machine, and transfer the files that way.

PS:
cd /etc
pico ftpchroot
and delete the entry for the user you want to un-chroot will probably do the trick.


but, SSH is the way of the walk.

nikon

Craig R. Arko
02-06-2002, 09:10 AM
Yes, and using RBrowser makes file transfer through ssh (using scp, I think) a breeze. :)

Dogcow
02-06-2002, 02:56 PM
Sweet!!! Thank you so much guys, you just saved me several more hours of wandering around my OS!

meancode
02-10-2002, 09:43 PM
hello,

this is what we did at work,

we change aoache's settings for the web root. make it the "Sites/docs" folder of a "web" user. this moves the web root out of the Library and also gives secure FTP access to the web site. the sites folder for our "web" user is setup like this:

cgi
docs
streaming
logs

this just makes things easer, FTP is easier to use for "average" users than SSH, and keeps your OS secure. hope this helps.