Here is a default set of directories etc to setup for a generic chroot. This example, will be for irssi, so I’ll put that under /chroot/irssi . Additionally, the /chroot should be a mounted FS (seperate Partition). Create a User/Group for irssi, and use that too! Make the User/Group below unique. Something which nobody else…
Category: Linux
Recover Encrypted Linux Hard Drive
In case the Linux box doesn’t boot, and it has full disk encryption using true-crypt, then follow along to get those partitions loaded, mounted, etc… First of all if your system isn’t booting, you’ll have to boot from a Linux live media (cd, usb, etc). Then you’ll have the task of designating what partitions to…
Tarball (on-the-fly) coupled with the power of openssh
This little process will create a tarball from a specified directory, then transfer it via ssh and extract it on the fly. The advantage of this method is the tarball is never needed to be created, transferred and then extracted. ( tar -cf – ./ ) | ( ssh user@host ‘mkdir test101 && cd test101…