jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] passwd not read


From: Olivier Sessink
Subject: Re: [Jailkit-users] passwd not read
Date: Thu, 04 Sep 2014 09:42:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

Hi Steve,

please look in the logs, there you should find some clues what is wrong.

Olivier

On 27-08-14 16:41, Steve Weber wrote:

Hello,

 

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

                root:x:0:0:root:/root:/bin/bash

web751:x:1011:1006:::/bin/bash

 

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)

 

[uidbasics]

# 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

 

[netbasics]

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



_______________________________________________
Jailkit-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/jailkit-users


-- 
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/

reply via email to

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