View Single Post
  #8  
Old 13th October 2009, 10:22
xerc xerc is offline
Junior Member
 
Join Date: Oct 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, I did the following:

I followed the "lenny ispconfig perfect server" tutorial, did all the steps except installing jailkit. That was 2 weeks ago. Yesterday I installed jailkit 2.8 from source. After that, I created a SSH-User with ISPConfig and selected jailkit.
I was logged in as root via SSH, but after the ISPConfig Cron ran, I was not able to execute any command, "ANY-COMMAND not found".
Rebooting doesn't work, /sbin/init not found.

CHROOT at rescue system doesn't work: /bin/bash not found.
But /bin/bash and all libs are existant on rescue and crashed system.

chroot: cannot run command `/bin/bash': No such file or directory

/etc/passwd

Code:
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:

SNIP

ssh:x:103:
ntp:x:104:
mysql:x:105:
ssl-cert:x:106:postgres
postfix:x:107:
postdrop:x:108:
clamav:x:109:
amavis:x:110:clamav
vmail:x:5000:
getmail:x:5001:
sshusers:x:5002:web1,web2,web3,web4,web5,web7,web8,web9,web10,web11,web13,web15,web17,web19,web23,web25
ispconfig:x:5003:www-data
client0:x:5004:www-data
client3:x:5005:www-data
client1:x:5006:www-data
postgres:x:111:
lm_crawler:x:5014:
client4:x:5015:www-data
client5:x:5016:www-data
/etc/passwd

Code:
root:x:0:0:root:/root:/bin/sh
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync

SNIP

getmail:x:5001:5001::/etc/getmail:/bin/sh
ispconfig:x:5002:5003::/usr/local/ispconfig:/bin/sh
web1:x:5003:5006::/var/www/clients/client1/web1:/bin/false
web2:x:5004:5006::/var/www/clients/client1/web2:/bin/false

Last edited by xerc; 13th October 2009 at 10:50.
Reply With Quote