How to Jail ftp user

Hi Gurus,

I am creating a user for ftp only on Solaris 10. However while testing I can see user can reach to root directory.

I followed following while creating the user

1 Created a shell in /usr/bin/ftponly as chmod a+x to ftponly
2 Placed the entry in /etc/shells
3 Created a user with home directory as /export/home/ftphome/./ftphome1/ and shell is assign as /usr/bin/ftponly

However the user can read the entire filesystem:confused:

Please help as what need to be done to jail the user to /export/home/ftphome/ only .

You want a chroot jail.

Building a chroot environment on Solaris 8

Thanks Jim,

Being a production box i wont able to do much research, will appreciate if you can help some thing which can be more consize and with can help without adding any further package