jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] /usr/sbin/jk_chrootsh No such file or directory


From: Olivier Sessink
Subject: Re: [Jailkit-users] /usr/sbin/jk_chrootsh No such file or directory
Date: Sun, 16 Dec 2007 16:47:16 +0100
User-agent: Icedove 1.5.0.14pre (X11/20071018)

Dan Rossi wrote:
> Hi there i just setup a jail on a ubuntu machine, and when i attempt to
> login I get this error, in the auth.log i can see it authenticating, but
> it stops somewhere here. I cant seem to work this out my user in
> /etc/passwd looks like
> 
> /var/chroot/./home/usertest:/usr/sbin/jk_chrootsh
> 
> Let me know I think this is broken.

it seems that you use jk_chrootsh as shell *inside* the jail. But this
shell is designed to be used outside the jail, because it will put you
inside the jail.

so your  <jail>/etc/passwd should have some kind of other shell.

regards,
        Olivier




reply via email to

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