Hi,
I'd like to restrict guest user to seeing only its home directory during a ftp
session.
I've tried
chroot /home/guest /usr/bin/ftp
but it give me a
chroot: cannot execute /usr/bin/ftp: No such file or directory
Of course, it did check the ftp is there.
I've also tried to change the passwd file of guest to
guest:x:507:507::/home/guest./home/guest:/bin/bash
but instead of making the /home/guest as root directory, it default to the root.
I greatly appreciate any help.
Thanks.
Han Ming