rozwell69
September 15th, 2009, 04:35 PM
Howdy!
I had well installed Ubuntu 9.04 with ISPConfig 3 and Jailkit 2.6 and everything was working fine.
Unfortunatelly when I've added new shell user with Jailkit option (in ispconfig, in the same time I was logged as root via ssh) root lost his ability to do anything. Of course system was not able to start so now it's mounted on the other system.
So I've got access to every file but cannot login using chroot:
# chroot /crashed_system
chroot: cannot run command `/bin/bash': No such file or directory
Checked and permissions are fine (unchanged I guess):
# ls -l /recovered_system/bin/bash
-rwxr-xr-x 1 root root 833592 Mar 2 2009 /recovered_system/bin/bash
Does anyone knows how to fix it?
or
purge jailkit from the system
or
make root able to login
or
configure jailkit to remove root from jail? (if it's in jail, because I don't know how to check it)
The case is really important so any suggestions are expected.
Cheers!
rozwell
EDIT:
I have recovered important data and will now reinstall the system but I still don't know the answer...
I had well installed Ubuntu 9.04 with ISPConfig 3 and Jailkit 2.6 and everything was working fine.
Unfortunatelly when I've added new shell user with Jailkit option (in ispconfig, in the same time I was logged as root via ssh) root lost his ability to do anything. Of course system was not able to start so now it's mounted on the other system.
So I've got access to every file but cannot login using chroot:
# chroot /crashed_system
chroot: cannot run command `/bin/bash': No such file or directory
Checked and permissions are fine (unchanged I guess):
# ls -l /recovered_system/bin/bash
-rwxr-xr-x 1 root root 833592 Mar 2 2009 /recovered_system/bin/bash
Does anyone knows how to fix it?
or
purge jailkit from the system
or
make root able to login
or
configure jailkit to remove root from jail? (if it's in jail, because I don't know how to check it)
The case is really important so any suggestions are expected.
Cheers!
rozwell
EDIT:
I have recovered important data and will now reinstall the system but I still don't know the answer...