Jay Sern Liew wrote:
Greetings.
Basically, I have this group of users, that I give SSH/SFTP access, but I
don't want them to be able to see the complete file hierarchy and ``cd'' to
them. I just want a user to be able to access the user's home, and that's it
Look at the docs on the chroot command, this is what you want (I think)
I'm not 100% sure how to make sshd do a chroot when you log in, but I'd
be real surprised if it's terribly difficult to do.
Has anyone wanted to do this before?
Absolutely, this is very common.
I was thinking, or maybe I
could redirect that group of users to use a different version of the command
``cd'' and ``ls'' so that it will only work within their home directories.
You could, but that's probably a more difficult solution.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message