jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] Ubuntu 7.04 Feisty Fawn


From: Victor San Kho Lin
Subject: Re: [Jailkit-users] Ubuntu 7.04 Feisty Fawn
Date: Thu, 19 Jul 2007 15:17:49 +0800

Try changing bash under jail. Look "Bash as shell in the jail" at http://olivier.sessink.nl/jailkit/howtos_chroot_shell.html

vi /home/testchroot/etc/passwd

mike:x:1001:1001::/home/testchroot:/usr/sbin/jk_lsh
to
mike:x:1001:1001::/home/testchroot:/bin/bash

And test again...


On 7/19/07, Tom Fortier <address@hidden> wrote:
I just finished installing the jailkit on this new test server.  I'm
getting to the exact same spot I did in OpenBSD 4.1, after
authentication the SFTP session just hangs.  I was able to get OpenBSD
4.1 working with one minor config change.

I'm stuck with a permissions error on ubuntu though.

subsystem request for sftp
subsystem: exec() /usr/lib/openssh/sftp-server
now entering jail /home/testchroot for user mike (1001)
Error: failed to execute shell /usr/sbin/jk_lsh for user mike (1001),
check the permissions and libraries and libraries of
/home/testchroot//usr/sbin/jk_lsh

The path at the end seems strange.  The permission look the same as on
the OpenBSD box.

Any ideas?



Thank You,

Tom Fortier
Zotec Partners, LLC
714.727.1030 Direct Phone
949.279.0337 Cell Phone

address@hidden



reply via email to

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