proftpd/useradd question
I have a question with the useradd command in shell on a linux system. I want to create an ftp account for a user to ftp to a certain directory on my current website. the website's path is /home/virtual/site5/fst/var/www/html and the directory i want this user to have ftp access to is /home/virtual/site5/fst/var/www/html/miscHere is the syntax i used in the shell:
[root@admin /]# useradd -d /home/virtual/site5/fst/var/www/html/misc testuser
[root@admin /]# passwd testuser
When the user loggs in they see the full path (/home/virtual/site5/fst/var/www/html/misc/) and can go up to the parent directories. How can i lock this user in the misc directory without seeing and having access to the parent paths? So when the user logs in through ftp they see "/" and cant go up to the "html" directory
Thanks