How do I set up chroot sftp account
Hi,
I am tryig to set up a secure way for users to sftp to my server.
I found this link ...
http://www.c2group.net/howtos/chroot.html
... but it seems to leave out one import point.
When I test out the account like the document describes the user is not "jailed".
What I think was left out is how do I get user to execute ...
chroot /home/jail/bad_bob /bin/sh
... since chroot must be run by root?
Is the link I posted out of date?
Is there some other way to accomplish what I any trying to do?
I want to have users have access to only there $HOME directory and not
be able to execute anything really. They just need to be able to sftp files
to a directory.
Oh BTW ...
# uname -a
SunOS zeus 5.8 Generic_108528-19 sun4u sparc SUNW,Sun-Blade-100
Thanks

