How do I restrict the vsftpd directory listing for a specific user?

Updated -

NOTE: This example uses testuser as an example.  Modify this user name as needed.


mkdir /etc/vsftpd_user_conf

Edit the /etc/vsftpd/vsftpd.conf file and place the following at the end:

vi  /etc/vsftpd/vsftpd.conf








# Allows the override of any config option specified in the manual page ...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content