jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] Ubuntu 11.04 64-bit


From: Olivier Sessink
Subject: Re: [Jailkit-users] Ubuntu 11.04 64-bit
Date: Tue, 08 Nov 2011 22:54:09 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

On 11/08/2011 10:32 PM, Michael Schwinges wrote:
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.

probably some of the libnss*.so 64bit files are missing. Look at the example jk_init.ini, the examples are mostly for 32bit systems. You probably need to adjust them a bit for 64bit systems.

jk_lsh tries to get the user information using the standard getpwnam() library call. This call uses the libnss plugins to actually get the information from files/ldap/nis etc.

Olivier




reply via email to

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