|
From: | Olivier Sessink |
Subject: | Re: [Jailkit-users] Cannot find file '/usr/sbin/jk_chrootsh' when using ssh |
Date: | Tue, 04 Jul 2006 08:07:18 +0200 |
User-agent: | Thunderbird 1.5.0.4 (X11/20060619) |
nissehud wrote:
Hi, Scenario is..The same user jail created on two separate systems, using exactly the same procedure (TTBOMK). One works, perfectly, the other one ..1. Seems to require '/sbin/jk_chrootsh' to be in the jail. If it isn't there, then it gives the above error and then closes the connection.
old versions of Jailkit used /sbin/jk_chrootsh, currently the binaries are in /usr/sbin
just check where your binaries are, and check /etc/passwd for the correct path
2. If it is there, no error ensues, but the connection is closed anyway. User login and password are accepted, but auth log gives the following, error: /dev/pts/1: No such file or directory.
possibly /dev/tty is missing, which devices are in <jail>/dev/ ?
3. I can su into the jail without a problem. This occurs when using ssh only.
and 'su -' ? regards, Olivier
[Prev in Thread] | Current Thread | [Next in Thread] |