jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] jk_chrootsh[17661]: abort, failed to get user inform


From: Alexander N. Treyner
Subject: Re: [Jailkit-users] jk_chrootsh[17661]: abort, failed to get user information in the jail for user ID 514: Permission denied, check /home/jailuser/etc/passwd
Date: Mon, 17 Mar 2008 17:47:51 +0200
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

Hello Olivier,



Alexander N. Treyner
address@hidden
www.treyner.israel.net



Olivier Sessink wrote:

p.s. please discuss over the list, your mail server is denying my emails (?!?)

Alexander N. Treyner wrote:
Hi,

this is content of my /home/mldonkey/etc

ls -l

-rw-r--r-- 1 root root 1437 Jan 31  2006 bashrc
-rw-r--r-- 1 root root   30 Mar  2 15:55 group
-rw-r--r-- 1 root root   65 Dec  9  2006 hosts
-rw-r--r-- 1 root root   53 Mar 15  2006 issue
-rw-r--r-- 1 root root 2613 Mar  2 15:55 ld.so.cache
-rw-r--r-- 1 root root   28 Sep 12  2006 ld.so.conf
-rw-r--r-- 1 root root    0 Jan 13  2000 motd
-rw-r--r-- 1 root root 1696 Sep 23  2004 nsswitch.conf
-rwxr-xr-x 1 root root   77 Mar  2 15:57 passwd
-rw-r--r-- 1 root root  937 Jan 31  2006 profile
-rw-r--r-- 1 root root   55 Dec  9  2006 resolv.conf

Content of /home/mldonkey/etc/group:
root:x:0:root
mldonkey:x:516:

Content of /home/mldonkey/etc/passwd:
root:x:0:0:root:/root:/bin/bash
mldonkey:x:514:516::/home/mldonkey:/bin/bash

Related content of original passwd:
mldonkey:x:514:516::/home/mldonkey/./home/mldonkey:/usr/sbin/jk_chrootsh

everything looks good.., the only thing I can think of now is your nsswitch.conf in the jail, or missing /lib/libnss* plugins.. (or /lib64)
WHat may be wrong with nssswitch.conf? Should I configure it?
About libnss:
# ls -l|grep -i libnss
-rwxr-xr-x 1 root root   36280 Sep 12  2006 libnss_compat-2.4.so
lrwxrwxrwx 1 root root      20 Mar  2 15:54 libnss_compat.so.2 -> libnss_compat-2.4.so
-rwxr-xr-x 1 root root  825760 Feb 18  2006 libnss_db-2.2.so
lrwxrwxrwx 1 root root      16 Mar  2 15:54 libnss_db.so.2 -> libnss_db-2.2.so
-rwxr-xr-x 1 root root   21768 Sep 12  2006 libnss_dns-2.4.so
lrwxrwxrwx 1 root root      17 Mar  2 15:54 libnss_dns.so.2 -> libnss_dns-2.4.so
-rwxr-xr-x 1 root root   46652 Sep 12  2006 libnss_files-2.4.so
lrwxrwxrwx 1 root root      19 Mar  2 15:54 libnss_files.so.2 -> libnss_files-2.4.so
-rwxr-xr-x 1 root root   22668 Sep 12  2006 libnss_hesiod-2.4.so
lrwxrwxrwx 1 root root      20 Mar  2 15:54 libnss_hesiod.so.2 -> libnss_hesiod-2.4.so
-rwxr-xr-x 1 root root 2874544 Feb 24  2006 libnss_ldap-2.3.90.so
lrwxrwxrwx 1 root root      21 Mar  2 15:54 libnss_ldap.so.2 -> libnss_ldap-2.3.90.so
-rwxr-xr-x 1 root root   42272 Sep 12  2006 libnss_nis-2.4.so
-rwxr-xr-x 1 root root   51540 Sep 12  2006 libnss_nisplus-2.4.so
lrwxrwxrwx 1 root root      21 Mar  2 15:54 libnss_nisplus.so.2 -> libnss_nisplus-2.4.so
lrwxrwxrwx 1 root root      17 Mar  2 15:54 libnss_nis.so.2 -> libnss_nis-2.4.so
-rwxr-xr-x 1 root root   18856 Sep 26  2006 libnss_winbind.so.2
-rwxr-xr-x 1 root root  892628 Sep 26  2006 libnss_wins.so.2


> Also what about password for user mldonkey? Should I define it or no? > Currently I have no password defined for user mldonkey.

how are you logging in right now, with ssh private keys? I suppose that's fine.

Actually I did not tried log in with user mldonkey. It is new user, supposed for one application, and I started to work with jail before I run the application. Do you think I need log in with the user first, and then define jail ?

Thanks,

Alex.


reply via email to

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