jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Jailkit-users] sftp chroot - Connection Closed


From: Michael Groves
Subject: [Jailkit-users] sftp chroot - Connection Closed
Date: Fri, 2 Jun 2006 15:02:16 +0100

I’m trying to setup a sftp chroot, I have installed as per the documentation but I get the following error when trying to login.

 

From the prompt I type

sftp address@hidden

 

After entering the password it returns “Connection Closed”

 

If I check /var/log/warn it reports

Linux jk_chrootsh[5315] : abort, path /home/jail/./home/mike does not have group 100

 

I’m sure there is an easy explanation, but being a newbie I can’t see it. Please see my configs below

 

/etc/passwd

mike:x:1003:100::/home/jail/./home/mike:/usr/sbin/jk_chrootsh

 

/home/jail/etc/passwd

mike:x:1003:100::/home/mike:/usr/sbin/jk_lsh

 

/etc/group

users:x:100:

 

home/jail/etc/group

users:x:100:

 

/etc/group

users:x:100:

 

/etc/jailkit/jk_lsh.ini

[group users]

paths = /usr/bin

executables= /usr/bin/cvs

allow_word_expression = 0

#

[mike]

paths = /usr/bin, usr/lib/

executables= /usr/bin/scp, /usr/lib/sftp-server

allow_word_expression = 0

umask = 002

 

/home/jail/etc/jailkit/jk_lsh.ini

[group users]

paths = /usr/bin

executables= /usr/bin/cvs

allow_word_expression = 0

#

[mike]

paths = /usr/bin, usr/lib/

executables= /usr/bin/scp, /usr/lib/sftp-server

allow_word_expression = 0

umask = 002

 

--

Michael

 

ValueLink is a specialist service provider of financial data to the major UK and International centres. Our clients require reliable, accurate data with maximum coverage on a fixed time delayed basis. We work closely with each of our clients to provide a service which meets their specific requirements and maximises efficiency of their process. For further information visit our website @ www.valuelink.co.uk

CONFIDENTIALITY: The information in this e-mail and any attachment is confidential. It is intended only for the named recipient(s). If you are not a named recipient, please notify the sender immediately and do not read, use, copy or disseminate this information. ValueLink Information Services Ltd accepts no liability whatsoever for any direct or consequential loss arising from the use, or reliance on, this e-mail or it's contents.

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]