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: Dan Rossi
Subject: Re: [Jailkit-users] /usr/sbin/jk_chrootsh No such file or directory
Date: Mon, 17 Dec 2007 03:31:28 +1100

here is the generated line in /etc/passwd

testuser:x:1004:1004:,,,:/var/chroot/./home/testuser:/usr/sbin/ jk_chrootsh

here is the /var/chroot/etc/passwd

testuser:x:1004:1004:,,,:/home/testuser:/usr/sbin/jk_lsh


On 17/12/2007, at 2:47 AM, Olivier Sessink wrote:

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


_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users





reply via email to

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