View Full Version : Undo jailing user

08-12-2008, 07:49 AM
Is there a way to remove all the binaries and jail from a user easily? Or is it just a matter of removing bin, etc, sbin, tmp, user, var and home from it's account and change the /etc/passwd file?

08-27-2008, 03:53 PM
There is no way to do that automatically (at the moment) :) You must do that manually.

08-30-2008, 09:09 AM
No problem. Do you have a list of changes done when jailing a user perhaps?
Saves me some time running through the code ;)

10-29-2008, 07:43 PM
I need this too! It would me really nice to be able to "unjail" users and clean their home. Could you at least post some instructions to do this manually?

11-06-2008, 06:26 AM
Just change the login shell back to the default one (bash perhaps) like this: chsh -s /bin/bash <user>

Then you can delete the folders created in the users home directory.

cd /home/<user>
rm -rf usr
rm -rf bin