9 Feb 2007 senthilkumar   » (Observer)

I mostly deal with chroot environments and today I put some of my time over it. The question that come to me is How to Break up chroot() jail? Sounds tricky to me initially. But its simple, root user cant be chrooted. If he does, he can break it. Simple logic.

1. Create a temp dir and chroot to it. 2. Change the current working dir by repeattedly running chdir(..). 3. Run chroot(.) and this makes you to move to root dir.

Going to home for this week end and hope the week end would be great.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!