[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] Problem with jk_chrootsh
From: |
Dave Augustus |
Subject: |
Re: [Jailkit-users] Problem with jk_chrootsh |
Date: |
Thu, 10 Aug 2006 14:41:48 -0500 |
On Thu, 2006-08-10 at 21:09 +0200, Olivier Sessink wrote:
> Dave Augustus wrote:
> > On Thu, 2006-08-10 at 17:45 +0200, Olivier Sessink wrote:
> >> Dave Augustus wrote:
> >>> I have reviewed the email archives about this problem but I am unable to
> >>> login via ssh into a chroot jail. Su to the user works fine, however.
> >>>
> >>> Any clues greatly appreciated!
> >> probably similar to the previous discussion on the list. Try to use
> >> jk_cp to copy all /lib64/libnss_* files into the jail and see if that
> >> helps.
> >>
> >> regards,
> >> Olivier
> >>
> >
> > OK, now the connection closes immediately.
> >
> > /var/log/messages has:
> > jk_chrootsh[23439]: abort, the homedir in /etc/passwd does not contain
> > the jail <jail>/./<home>
>
> it is referring to the real /etc/passwd
>
> the homedir does not have a /./ sequence
>
> regards,
> Olivier
Ah, but it does!
cat /etc/passwd|grep christiangrapevine.org
christiangrapevine.org:x:5016:5016::/home/christiangrapevine.org/./home/christiangrapevine.org:/usr/sbin/jk_chrootsh
cat /home/christiangrapevine.org/etc/passwd | grep
christiangrapevine.org:
christiangrapevine.org:x:5016:5016::/home/christiangrapevine.org:/bin/bash
-Dave
- [Jailkit-users] Problem with jk_chrootsh, Dave Augustus, 2006/08/10
- Re: [Jailkit-users] Problem with jk_chrootsh, Olivier Sessink, 2006/08/10
- Re: [Jailkit-users] Problem with jk_chrootsh, Dave Augustus, 2006/08/10
- Re: [Jailkit-users] Problem with jk_chrootsh, Olivier Sessink, 2006/08/10
- Re: [Jailkit-users] Problem with jk_chrootsh, Dave Augustus, 2006/08/10
- Re: [Jailkit-users] Problem with jk_chrootsh, Olivier Sessink, 2006/08/10
- Re: [Jailkit-users] Problem with jk_chrootsh, Dave Augustus, 2006/08/10
- Re: [Jailkit-users] Problem with jk_chrootsh, Olivier Sessink, 2006/08/10
- Re: [Jailkit-users] Problem with jk_chrootsh, Dave Augustus, 2006/08/10
- Re: [Jailkit-users] Problem with jk_chrootsh, Olivier Sessink, 2006/08/11
- Re: [Jailkit-users] Problem with jk_chrootsh, Dave Augustus, 2006/08/11
- Re: [Jailkit-users] Problem with jk_chrootsh, Olivier Sessink, 2006/08/11
- Re: [Jailkit-users] Problem with jk_chrootsh, Dave Augustus, 2006/08/11