Deny directory browsing in a Proftpd / Ubuntu Installation
Posted
by skylarking
on Server Fault
See other posts from Server Fault
or by skylarking
Published on 2010-03-24T19:11:41Z
Indexed on
2010/03/24
19:13 UTC
Read the original article
Hit count: 243
I used this guide to set up a Proftpd installation an Ubuntu 8.04 server... Works well, but the generic user ( userftp ) can run
ls
and is able to change to any Directory and browse freely on the server ..from the root
/
and upwards.. I added this line to etc/shells
/bin/false
in hopes that that would prevent this ... I really only want the userftp account to be able to upload to the generic
/home/FTP-Shared
directory, and be able to do nothing else on the server. How is this accomplished ... This is a headless Ubuntu box..and I am using CLI only .. no GUI admin tools
© Server Fault or respective owner