Page is a not externally linkable
- Hardware and OS Related Technologies
-- Linux, Unix, and *nix like Operating Systems
---- Setting user permissions


MattyMoose - 5:11 pm on Sep 20, 2005 (gmt 0)


What you're looking for is a chroot. That way, when the user logs in, /home/username appears to be / to the user.

Most FTP servers will have a chroot option to lock users into their home directories.

SSH chroot is a little harder, SFTP/SCP chroot is a little easier than SSH, IIRC.

Google around for howtos for chroot'd SSHD.

MM


Thread source:: http://www.webmasterworld.com/linux/1555.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com