Re: Creating a Locked user that has access to one dir

2013-11-08 Thread Rick Stevens
On 11/08/2013 06:02 AM, Greg Woods issued this missive: On Fri, 2013-11-08 at 08:29 +, Ian Malone wrote: http://www.techrepublic.com/blog/linux-and-open-source/chroot-users-with-openssh-an-easier-way-to-confine-users-to-their-home-directories/ That looks a lot less kludgy than my "third p

Re: Creating a Locked user that has access to one dir

2013-11-08 Thread Greg Woods
On Fri, 2013-11-08 at 08:29 +, Ian Malone wrote: > http://www.techrepublic.com/blog/linux-and-open-source/chroot-users-with-openssh-an-easier-way-to-confine-users-to-their-home-directories/ That looks a lot less kludgy than my "third party hack". I don't think this was available when I did it

Re: Creating a Locked user that has access to one dir

2013-11-08 Thread Ian Malone
On 8 November 2013 02:27, 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

Re: Creating a Locked user that has access to one dir

2013-11-07 Thread Greg Woods
On Thu, 2013-11-07 at 21:27 -0500, b...@acustat.org wrote: > they are uploading files using winscp. > I want to completely lock them to /home/user/upload (no other dirs) I did this once, and I did it by giving the users a restricted shell, which was a perl script that checked the arguments to be

Creating a Locked user that has access to one dir

2013-11-07 Thread ben
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 pe