Hi Leo Huang,

I have just found the answer: Setting vsftp (by modify "/etc/vsftpd.conf" file):
chroot_list_user=YES
chroot_list_file=/etc/vsftpd.chroot_list


(File "etc/vsftpd.chroot_list" lists of users that they're limited in their home directory. Create it if doesn't exist.)

Hope it can help you.
Thach.

Leo Huang wrote:

I have a similar question. How can I chroot in the ssh, in RH9?

Leo


----- Original Message ----- From: "Le Ngoc Thach" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 05, 2003 1:13 PM
Subject: FTP server and openldap





I also have another problem. I'm using openldap for authentication of ftp, ssh,...
How can I limit the user in their home directory?


Thach.

[EMAIL PROTECTED] wrote:



Hi:
How do I setup the FTP server home directory so that the user that is logging in
cannot browse beyond that folder.
For example: If the user ftp home directory is /home/ftp/files --files will be the only folder
that he/she will have access to.


Currently when a user logs in he/she is able to browse to the root directory which I don't want.

Thanks in advance.
Oliver






-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list










-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to