Creating a Locked user that has access to one dir

Ian Malone ibmalone at gmail.com
Fri Nov 8 08:29:21 UTC 2013


On 8 November 2013 02:27,  <ben at acustat.org> wrote:
> I'm trying to create a user that can only rwx from one directory with chroot.
>
> they are uploading files using winscp.
> I want to completely lock them to /home/user/upload (no other dirs)
>
> anyone have a quick list of steps?  been trying to edit sshd_config for just that user but keep running into permission issue for directory.  what should they be?
>

Is this what you're doing?
http://www.techrepublic.com/blog/linux-and-open-source/chroot-users-with-openssh-an-easier-way-to-confine-users-to-their-home-directories/

-- 
imalone
http://ibmalone.blogspot.co.uk


More information about the users mailing list