Web Hosting Talk







View Full Version : Help: Folder restriction


yawsh
09-05-2004, 11:45 AM
Hi,
I’m looking for SSH command to restrict ftp user of accessing other than his folder and his sup folders; restrict him from going one level up.

Thanks

yawsh
09-05-2004, 05:16 PM
Any body answer pls.

Nettworkz
09-06-2004, 01:33 AM
Are you using a control panel of any kind? If so which one?

Basically your wanting to jail the user to his home directory it sounds like.

daGrey
09-06-2004, 01:35 AM
what OS and which control panel are you using?

Steven
09-06-2004, 03:01 AM
chmod 711 /home
cd /home
chmod 711 *


Not sure if thats what you wanted but i think it is.

yawsh
09-06-2004, 04:09 AM
I'm using WHM/Cpanel

arodgers
09-06-2004, 11:41 AM
As for shell access, rbash as his shell would be recommend. As for any kind of other interface, see the man page for chmod and chgrp.