«
»

Linux

How to limit a user to having access only their home dir in vsftpd

01.04.08 | Comment?

File Transfer Protocol is a way of transferring files over the Internet from one computer to another. You can connect to a FTP server, browse directories and transfer files. Red Hat Linux comes with different or updated version of FTP daemon with each release. Newer versions of Red Hat no longer support the wu-ftpd, instead vsftpd had been used.

if you would like to make an ftp user on your server and to limit a user to having access to only their home dir, and not being able to see anything you can follow steps below.

- Uncommented line “chroot_list_enable=YES” in vsftpd.conf.
- Uncommented line “chroot_list_file=/etc/vsftpd.chroot_list” in vsftpd.conf.
- Make a file called ‘/etc/vsftpd.chroot_list”, added userid to this file.

Example:
username1
username2
..
..

be sure to restart the vsftpd service.

Happy nice traying.

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

:

:


«
»