Chroot Jail for Untrusted Users

In: Linux| Security

29 Mar 2008

So we’ve been buying some websites recently and I’ve needed to let people into the web server to upload content and such. I knew I needed to put these folks someplace where they couldn’t hurt anything else, or more importantly, see anything else on the server. So, I went digging around for an FAQ on how to most effectively get this done and I came across this script:

Chroot Jail

It’s quite nice.

Basically, you just pull that script down and get it on your machine. Then you feed it a username and let it go to work.

When it’s done, you’ll have a new user who is isolated to /home/jail. Their home dir will be in /home/jail/home and they can shell in and do whatever.

Share and Enjoy:

  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Live
  • MySpace
  • Netvibes
  • Reddit
  • Slashdot
  • SphereIt
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Twitter
  • Yahoo! Bookmarks

Related Posts:

  • No Related Posts

Comment Form

Recent Posts

  • longchamp: nordstrom http://jmultipleir-djjq.04FORDPARTS.US/tag/nordstrom+longchamp+purses/ : purses.. [...]
  • r2: r2 http://eavedaspaxf.AUTOPARTSVILLE.INFO/tag/r2+Sap+Aveda/ : Sap... Aveda... [...]
  • price: Microwave http://aemersonw0mq76.BEDROOMPROPERTY.INFO/tag/price+Emerson+Microwave/ : Emerson [...]
  • projection: projection http://aprojectionvbt-i0.03GMCPARTS.US/tag/projector+projection+TV/ : projector. [...]
  • Perfume: Perfume http://dnurserywclsbf.bestpartsstore.info/tag/pictures+Perfume+givenchy/ : Perfume. [...]