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: Fri, 21 Dec 2007 19:41:34 +1100

Ok i followed the steps in the docs though i dont see an rc script for jk_socketd

It brings up this error now

Dec 21 19:40:05 host jk_chrootsh[11255]: now entering jail /var/chroot for user testuser (1004)
Dec 21 19:40:05 host jk_lsh[11255]: jk_lsh version 2.4, started
Dec 21 19:40:05 host jk_lsh[11255]: WARNING: user testuser (1004) tried to get an interactive shell session (/usr/sbin/jk_lsh), which is never allowed by jk_lsh Dec 21 19:40:05 host sshd[11254]: pam_unix(ssh:session): session closed for user testuser


On 21/12/2007, at 7:25 PM, Dan Rossi wrote:

Dec 21 19:24:29 host jk_chrootsh[11007]: now entering jail /var/ chroot for user testuser (1004) Dec 21 19:24:29 host sshd[11006]: pam_unix(ssh:session): session closed for user testuser

Ill check the docs about setting up logs.


On 21/12/2007, at 7:14 PM, Dan Rossi wrote:

I dont see any rc script for jailkit. I just foillowed the howto for setting up the chroot etc. Not sure about how to set up logging for it though.


On 21/12/2007, at 6:29 PM, Olivier Sessink wrote:

Dan Rossi wrote:
Hi the sshd log level is INFO

This is the only log i get from jk_chroot

/var/log/auth.log:Dec 21 12:29:30 hostname jk_chrootsh[5127]: now
entering jail /var/chroot for user testuser (1004)

ahh very useful information. That means that you don't have logging in
the jail.

Did you configure syslog to listen on /var/chroot/dev/log ? Or do you
run jk_socketd for this purpose?

regards,
        Olivier


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



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



_______________________________________________
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]