|
#1
| ||||
| ||||
| I've just created a new account to use via FTP. I've changed his home dir in NetInfo manager so when I log via FTP, I'm directly in the dir I want me to be in. The problem is this: from my home dir, I can go up with path and reach the root of my powermac. I know that I can keep a user in his home by creating a file named ftpchroot containing FTP username and by putting this file in /private/etc/. I tried in this way, but when i log in via FTP, the FTP client show me an error: can't change directory What can I do?
__________________ 3mors ------------------------------------------------------ iMac G5 20"/MacBook Pro 17"/PowerBook G4 ------------------------------------------------------ |
|
#2
| |||
| |||
|
__________________ Macbook (Black) C2D/120GB/2GB | G5/1.6 250GBx2/1.25GB Free Mobile Phone Ringtone, Application, & Screensaver Uploader |
|
#3
| ||||
| ||||
| man chroot
__________________ -Paul Wieland______________ http://www.sickdimension.com Dual G5 2.0Ghz / 2.5GB Ram / 620 GB HD / 23" CD |
|
#4
| ||||
| ||||
| I tried to use chroot, but doesn't work. It says: No such file or directory or Permission denied even if I use tab key to type the path, so I'm sure it's right, and I do it as root. does chroot command change home root as I did in NetInfo manager? I didn't understand.
__________________ 3mors ------------------------------------------------------ iMac G5 20"/MacBook Pro 17"/PowerBook G4 ------------------------------------------------------ |
|
#5
| ||||
| ||||
| Can anyone help me? I tried to use chroot command, but it doesn't work.
__________________ 3mors ------------------------------------------------------ iMac G5 20"/MacBook Pro 17"/PowerBook G4 ------------------------------------------------------ |
|
#6
| ||||
| ||||
| I"m trying to do the same thing. I'm still poking around to see what I can do to chroot my FTP users because I'm hosting some sites for my friends. from what I understand the xinetd.conf located in /private/etc/ is in charge of handling anything to do with the FTP. I just say this now so I'm playing to see what I can do. Can somone explain how, theorically, a chroot file is supposed to work? what does that process entail? What needs to be put in the file? |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Thank God the Witch Is Dead | Veljo | Mac OS X System & Mac Software | 2 | June 27th, 2003 06:51 PM |
| AFP, FTP user access question for OSX Server | Guriboy | Design & Media | 2 | June 17th, 2003 12:00 AM |
| Getting /etc/motd to show with ftpd | new32 | Mac OS X System & Mac Software | 4 | October 8th, 2001 11:54 AM |
| moving user home dir? | jean-pierre | Apple News, Rumors & Discussion | 0 | July 12th, 2001 06:47 PM |
| Anonymous FTP | The DJ | Mac OS X System & Mac Software | 5 | January 16th, 2001 12:31 PM |