|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
I've finish setup the ProFTPD on my RH9
the problem is 'how to protect the user view the UP directory on box?' i've try chmod but it still can view & list. i want when ftp to the host path eg: the address for ftp software look like '/ ' for the account '/home/hymns' not look like '/home/hymns' bcoz when click the UP Dir button (cuteftp) ftp show the '/' contents.TQ
__________________
Making it different not a profit |
|
#2
|
|||
|
|||
|
You want to chroot the user to ~, which you can do by adding this to your ProFTPD configuration file:
Code:
DefaultRoot ~ |
|
#3
|
|||
|
|||
|
Thanks for the reply, sorry i've give the wrong ftpd name, i'm using pure-ftpd.
![]() |
|
#4
|
|||
|
|||
|
look in the readme of pure-ftpd, it has the whole list of commands avaliable for stand alone servers (ie. just running it like ./pureftpd) and it has commands for super servers, like inet or xinetd. What you want to do is chroot your users. So open up the readme and look for the chroot option. You will probably have all your questions about setting up pureftpd there as well.
|
|
#5
|
|||
|
|||
|
ok thanks, problem solve!
|
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > How To Protect Ftp |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|