jailkit-users
[Top][All Lists]
Advanced

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

[Jailkit-users] RE: How to launch a xterm into the jail (FOUCHECOURTFRED


From: FOUCHECOURT FREDERIC
Subject: [Jailkit-users] RE: How to launch a xterm into the jail (FOUCHECOURTFREDERIC)
Date: Wed, 21 Mar 2007 10:30:03 +0100

Hi Olivier,

No, I'am not using ldap service.
address@hidden xinetd.d]# ps -edfl | grep -i sldap
0 S root      9742  8924  0  76   0 -  1309 pipe_w 10:03 pts/0    00:00:00 grep 
-i ldap
address@hidden xinetd.d]# ps -edfl | grep -i slurpd
0 R root      9744  8924  0  77   0 -  1102 -      10:03 pts/0    00:00:00 grep 
-i slurpd
address@hidden xinetd.d]# ldapsearch 
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)

My <jail>/etc/passwd look like this :
address@hidden etc]# cat /home/jail/etc/passwd 
root:x:0:0:root:/root:/bin/bash
fred:x:509:510:User chrooted:/home/fred:/bin/bash

And my real password like :
address@hidden init.d]# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
...
fred:x:509:510:User chrooted:/home/jail/./home/fred:/usr/sbin/jk_chrootsh

Thanks for your help :-)

Redards, Frédéric

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Olivier Sessink
Sent: 20 March 2007 23:09
To: address@hidden
Subject: Re: [Jailkit-users] RE: How to launcha xtermintothejail 
(FOUCHECOURTFREDERIC)

FOUCHECOURT FREDERIC wrote:
> Hi,
> 
> Thanks for all Olivier, I try `xterm -e /bin/bash` and it's work fine 
> :-) For the 3 files in /home/jail/usr/X11R6/lib/X11/locale, I said a mistake.
> In fact, X11 windows appears after the mount of the /dev file system inside 
> the jail.
> 
> For the nscd deamon, I don't understand, when I launch the following command :
> address@hidden init.d]# ./nscd status
> The output is :
> nscd is stopped
> And the "ps" command return no nscd deamon.

ok, so nscd is not the problem. Are you using ldap? (that can give the same 
problem)

and what does <jail>/etc/passwd look like?

regards,
        Olivier


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




reply via email to

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