jailkit-users
[Top][All Lists]
Advanced

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

[Jailkit-users] Ubuntu 11.04 64-bit


From: Michael Schwinges
Subject: [Jailkit-users] Ubuntu 11.04 64-bit
Date: Tue, 8 Nov 2011 23:32:48 +0200

Hi,

Can anyone assist me with the following? I compiled and configured
jailkit following the instructions on the web site, and when I try to
sftp address@hidden I get the following message in auth.log:

Nov  8 23:30:39 solstice jk_chrootsh[19394]: now entering jail
/opt/jails/wfs for user wfs (1003) with arguments -c
/usr/lib/openssh/sftp-server
Nov  8 23:13:09 solstice jk_lsh[19342]: cannot find user info for USER
wfs: Success

>From googling around it seems as if 32/64 bit systems need a slightly
different config, but I haven't been able to figure out what could
work for Ubuntu 11.04. I have two other servers - both 32-bit - where
the generic instructions just worked beautifully.

Below is some output that might assist:

address@hidden:/opt/jails/wfs# cat /etc/passwd | grep wfs
wfs:x:1003:1003::/opt/jails/wfs/./home/wfs:/usr/sbin/jk_chrootsh

address@hidden:/opt/jails/wfs# cat /opt/jails/wfs/etc/passwd | grep wfs
wfs:x:1003:1003::/home/wfs:/usr/sbin/jk_lsh

address@hidden:/opt/jails/wfs# cat /opt/jails/wfs/etc/jailkit/jk_lsh.ini

[wfs]
paths= /usr/lib/, /usr/bin/, /usr/libexec/openssh/,
/lib/x86_64-linux-gnu/, /usr/lib/x86_64-linux-gnu/, /lib64/
executables= /usr/lib/openssh/sftp-server

address@hidden:/opt/jails/wfs# ldd usr/lib/openssh/sftp-server
        linux-vdso.so.1 =>  (0x00007ffff83b7000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f04f4539000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f04f4ae5000)

address@hidden:/opt/jails/wfs# ls lib/x86_64-linux-gnu/libc.so.6
lib/x86_64-linux-gnu/libc.so.6

address@hidden:/opt/jails/wfs# ls lib64/ld-linux-x86-64.so.2
lib64/ld-linux-x86-64.so.2


I'd really appreciate any assistance setting jailkit up correctly.

Kind regards,
Mike



reply via email to

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