jailkit-users
[Top][All Lists]
Advanced

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

[Fwd: Re: [Jailkit-users] cannot find user name uid 1001: Success]


From: Jochen Mattes
Subject: [Fwd: Re: [Jailkit-users] cannot find user name uid 1001: Success]
Date: Mon, 23 Jul 2007 23:57:32 +0200
User-agent: Thunderbird 1.5.0.12 (X11/20070604)



sshd: Accepted password for joe:from 127.0.0.1 port 18700 ssh2
sshd: subsystem request for sftp
jk_chrootsh: now entering jail /home/jail for user joe (1001)
jk_lsh: jk_lsh version 2.3, started
jk_lsh: cannot find user name for uid 1001:Success

jk_lsh runs inside the chroot jail, and tries to find out who user 1001 is. could be your <jail>/etc/passwd file, or <jail>/lib/libnss* libraries or <jail>/etc/nsswitch.conf that are missing

regards,
Olivier

thanks for the reply. I checked the files, but they do all exist.
They are attached below:

<jail>/etc/passwd file exists:
----------------------------
joe:x:1001:1000::/home/joe:/usr/sbin/jk_lsh

<jail>/lib/libnss*: exist
--------------------------

libnss_compat-2.4.so libnss_dns-2.4.so libnss_files-2.4.so
libnss_compat.so.2 libnss_dns.so.2 libnss_files.so.2


<jail>/etc/nsswitch.conf exists:
--------------------------------
passwd: compat
group: compat

hosts: files dns
networks: files dns

services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files
publickey: files

bootparams: files
automount: files nis
aliases: files


regards,

Jochen

-
--
---
Jochen Mattes – address@hidden
Ressort Informatik – Verband der Studierenden an der ETH (VSETH)
Universitaetsstrasse 6, 8092 Zuerich
Direkt +41 44 63 27527, Sekretariat +41 44 63 24298, Fax +41 44 63 21227



-
--
--- Jochen Mattes - address@hidden Ressort Informatik - Verband der Studierenden an der ETH (VSETH) Universitaetsstrasse 6, 8092 Zuerich Direkt +41 44 63 27527, Sekretariat +41 44 63 24298, Fax +41 44 63 21227





reply via email to

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