jailkit-users
[Top][All Lists]
Advanced

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

[Jailkit-users] Problem with passwd


From: Sęk Tomasz
Subject: [Jailkit-users] Problem with passwd
Date: Tue, 26 Jan 2010 17:06:06 +0100

Hi All

 

Have solaris 10

I did a jail according to http://olivier.sessink.nl/jailkit/howtos_ssh_only.html

 

Problem is that the "in jail" etc/passwd file is not read.

When I try to login as user comverse I get "failed to get user information in the jail for user ID 1014: Error 0, check /export/home/chrootusers/etc/passwd"

 

 

In main /etc/passwd I have

comverse:x:1014:1::/export/home/chrootusers/./home/comverse:/usr/sbin/jk_chrootsh

 

 

In jail passwd:

address@hidden # ls -l etc/passwd

-rw-r--r--   1 root     root         156 Jan 26 16:34 etc/passwd

cat /etcpasswd

comverse:x:1014:1::/home/comverse:/bin/bash

address@hidden # ls -l etc/group

-rw-r--r--   1 root     root          32 Jan 26 16:48 etc/group

address@hidden # cat etc/group

root:x:0:root

other::1:comverse

 

 

I managed to login to the jail by command:       (after I set " skip_injail_passwd_check = 1")

jk_uchroot -j /export/home/chrootusers/ -x /bin/bash

 

But I get

[I have no address@hidden

[I have no address@hidden ssh

You don't exist, go away!

[I have no address@hidden

 

 

So apparently in jail passwd file can't be read.

 

Can enybody help

 

Best Regards

 

Tomek Sek

 

 

 

 

 



Polska Telefonia Cyfrowa Sp. z o.o.
Al. Jerozolimskie 181
02-222 Warszawa
KRS 29159
Sąd Rejonowy dla m. st. Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego
NIP 526-10-40-567
Kapitał zakładowy 471 mln złotych
Regon 011417295

Ta wiadomość i jej treść są zastrzeżone w szczegółowym zakresie dostępnym na http://www.era.pl/stopka
This e-mail and its contents are subject to a DISCLAIMER with important RESERVATIONS: see http://www.era.pl/stopka

reply via email to

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