jailkit-dev
[Top][All Lists]
Advanced

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

[Jailkit-dev] Hi problem with using jail


From: Maverick
Subject: [Jailkit-dev] Hi problem with using jail
Date: Mon, 20 Nov 2006 23:54:19 +0000
User-agent: KMail/1.9.4

Hi 

i have successful  install jailkit in OpenBSD 4.0 how ever i try to follow the 
example from the hompage chroot shell 

so i run these command 
mkdir /home/jail
chown root:wheel /home/jail <- This is the only different command that i have 
used
jk_init -v /home/jail basicshell
jk_init -v /home/jail editors
jk_init -v /home/jail extendedshell
jk_init -v /home/jail netutils
jk_init -v /home/jail ssh
jk_init -v /home/jail sftp
jk_init -v /home/jail scp

how there is something missing in the process of making the jail folder. 
i create a jane (like example) ave the shell is jk_chrootsh
and run 

# jk_jailuser -m -j /home/jail jane
invalid shell, /home/jail/usr/sbin/jk_lsh does not exist
enter jail directory:

So i go back and check the message printed out the are some about lib is 
missing like 

ldd returns non existing library exe
ldd returns non existing library rlib
ldd returns non existing library rlib
ldd returns non existing library rtld

To make sure i tried jk_cp and that is what happened

# jk_cp /home/jail/usr/bin/ /usr/sbin/jk_lsh
ldd returns non existing library exe
ldd returns non existing library rlib
ldd returns non existing library rtld
 
So i don't know what is really missing? What should i do in this case like 
that. The OpenBSD 4.0 that i used is the fresh one. So i haven't made any big 
change to the default installation.

Thank you very much for you help. I also attached the copy of the message i 
got back. 

Best regard
Maverick

Attachment: process
Description: Text document


reply via email to

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