[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] jk_chrootsh.ini not working
From: |
Hi |
Subject: |
Re: [Jailkit-users] jk_chrootsh.ini not working |
Date: |
Thu, 20 Mar 2008 09:20:39 -0700 (PDT) |
Thanks Oliver. The Caps-Lock seemed to advance the
log-in via ssh some. Here is what the log says now.
Mar 20 11:22:35 expansion jk_chrootsh[15722]: path
/home/jail/./home/emotional is not owned by group 571
Mar 20 11:22:35 expansion jk_chrootsh[15722]: now
entering jail /home/jail for user emotional (571)
Mar 20 11:22:35 expansion jk_chrootsh[15722]: ERROR:
failed to execute shell /usr/bin for user emotional
(571), check the permissions and libraries of
/home/jail//usr/bin
Seems to me like a path problem defined wrong
somewhere. Your thoughts?
--- Olivier Sessink <address@hidden>
wrote:
> 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
>
>
> _______________________________________________
> Jailkit-users mailing list
> address@hidden
>
http://lists.nongnu.org/mailman/listinfo/jailkit-users
>
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
- Re: [Jailkit-users] jk_chrootsh[17661]: abort, failed to get user information in the jail for user ID 514: Permission denied, check /home/jailuser/etc/passwd, Olivier Sessink, 2008/03/09
- Re: [Jailkit-users] jk_chrootsh[17661]: abort, failed to get user information in the jail for user ID 514: Permission denied, check /home/jailuser/etc/passwd, Alexander N. Treyner, 2008/03/12
- Re: [Jailkit-users] jk_chrootsh[17661]: abort, failed to get user information in the jail for user ID 514: Permission denied, check /home/jailuser/etc/passwd, Olivier Sessink, 2008/03/17
- Re: [Jailkit-users] jk_chrootsh[17661]: abort, failed to get user information in the jail for user ID 514: Permission denied, check /home/jailuser/etc/passwd, Alexander N. Treyner, 2008/03/17
- Re: [Jailkit-users] jk_chrootsh[17661]: abort, failed to get user information in the jail for user ID 514: Permission denied, check /home/jailuser/etc/passwd, Olivier Sessink, 2008/03/17
- [Jailkit-users] jk_chrootsh.ini not working, Hi, 2008/03/20
- Re: [Jailkit-users] jk_chrootsh.ini not working, Olivier Sessink, 2008/03/20
- Re: [Jailkit-users] jk_chrootsh.ini not working,
Hi <=
- Re: [Jailkit-users] jk_chrootsh.ini not working, Olivier Sessink, 2008/03/20
- Re: [Jailkit-users] jk_chrootsh.ini not working, Hi, 2008/03/20