[Top][All Lists]

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

[Jailkit-users] passwd not read

From: Steve Weber
Subject: [Jailkit-users] passwd not read
Date: Wed, 27 Aug 2014 16:41:55 +0200



on a server we have a problem. Sftp or other services which require passwd are not usable.


OS:         Debian 7.3 (2.6.32-16-pve … x86_64 GNU/Linux)

Jailkit:   2.15


address@hidden:~$ whoami

whoami: cannot find name for user ID 1011


address@hidden: ~$ ssh

You don't exist, go away!


address@hidden: ~$ cat /etc/passwd




After reading some websites we discovered that our problem is /etc/jailkit/jk_init.ini

In [uidbasics] and [netbasics] we added the correct paths to the libnss*-files. (We added the red adjustments)



# this section probably needs adjustment on 64bit systems

# or non-Linux systems

comment = common files for all jails that need user/group information

libraries = /lib/libnsl.so.1, /lib64/libnsl.so.1, /lib/libnss*.so.2, /lib64/libnss*.so.2, /lib/x86_64-linux-gnu/libnsl.so.1, /lib/x86_64-linux-gnu/libnss*.so.2

regularfiles = /etc/nsswitch.conf, /etc/ld.so.conf



comment = common files for all jails that need any internet connectivity

libraries = /lib/libnss_dns.so.2, /lib64/libnss_dns.so.2, /lib/x86_64-linux-gnu/libnss_dns.so.2

regularfiles = /etc/resolv.conf, /etc/host.conf, /etc/hosts, /etc/protocols


It still doesn’t work, and we don’t know what to do next. Can anyone help?


Greetings Steve

reply via email to

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