|
From: | Olivier Sessink |
Subject: | Re: [Jailkit-users] jk_chrootsh.ini not working |
Date: | Thu, 20 Mar 2008 16:40:15 +0100 |
User-agent: | Thunderbird 2.0.0.12 (X11/20080227) |
Hi wrote:
I receive this error when I try to chown user1:apache /home/jail/user1. I have the following in my group and passwd files: Mar 20 07:10:04 expansion jk_chrootsh[24458]: abort, path /home/jail/./home/emotional does not have group owner 571, set option 'relax_home_group' to relax this check
All of the jk_chrootsh.ini files everywhere on the machine look like this:
the only one used is /etc/jailkit/jk_chrootsh.ini (jk_chrootsh brings your process into the jail, so it starts in the normal system, reads its config there, and then goed into the chroot jail.)
[default]
should be [DEFAULT] (all caps)
relax_home_group = 1 relax_home_group_permissions = 1 env = DISPLAY, XAUTHORITY, TERM, PATH All of the jk_lsh.ini files on the machine look like this: [DEFAULT] executables = /usr/bin/ssh, /usr/bin/scp, /usr/lib/sftp-server paths = /usr/bin/, /usr/lib allow_word_expansion = 1 umask = 002 environment=TERM=linux,FOO=bar relax_home_group = 1 relax_home_group_permissions = 1
these last two are not options for jk_lsh regards, Olivier
[Prev in Thread] | Current Thread | [Next in Thread] |