jailkit-users
[Top][All Lists]
Advanced

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

[Jailkit-users] jk_chrootsh.ini not working


From: Hi
Subject: [Jailkit-users] jk_chrootsh.ini not working
Date: Thu, 20 Mar 2008 06:17:33 -0700 (PDT)

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

Group
root:x:0:root
nx:x:502:nx
user1:x:568:

/etc/passwd
root:x:0:0:root:root:bin/bash
nx:x:100:502::/home/jail/./var/lib/nxserver/home:/usr/libexec/nx/nxserver
user1:x:568:568::/home/jail/./home/user1:/usr/sbin/jk_chrootsh

/home/jail/etc/passwd
root:x:0:0:root:root:bin/bash
nx:x:100:502::/var/lib/nxserver/home:/usr/libexec/nx/nxserver
user1:x:568:568::/home/user1:/bin/bash

All of the jk_chrootsh.ini files everywhere on the
machine look like this:

[default]
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

Where is the correct location for the jk_chrootsh.ini
file that will set the defaults for jk_chrootsh ro
relax home home group ownership restrictions?


      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs




reply via email to

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