greebo
asked on
Stopping FTP accounts from cd'ing out of their home directory
I have a debian linux webserver with several client websites. Each client has an FTP account with their home directory set to /usr/local/apache/htdocs/c lient/<cli ent_direct ory> and a default shell of /bin/ftponly.
How can I stop these clients from being able to 'cd ..' out of their home directory and right up to /?
I don't want any clients to be able to cd ../<another_client_directo ry> through FTP, but I need to keep read access open to anyone for webserving purposes
I am using ProFTPD 1.2.0.
Any help much appreciated.
How can I stop these clients from being able to 'cd ..' out of their home directory and right up to /?
I don't want any clients to be able to cd ../<another_client_directo
I am using ProFTPD 1.2.0.
Any help much appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
though I managed to sort it out by adding
<VirtualHost [IP_Address]>
DefaultRoot ~
</VirtualHost>
to the proftpd.conf file b4 I got your answer.
thanks anyway
greebo