Creating a chroot jail


Creating a chroot jail

Postby tmsdev » Sat Jul 18, 2009 5:45 am

A handy script and step-by-step instructions on how to create a chroot jail. Additional programs can be added to the jailed account by copying over the executables plus all the libraries those executables use (as determined by ldd <executable>).

Upd: To let WinSCP work with a chrooted account, in some distros (e.g., FC>6) you need to disable the requiretty setting in /etc/sudoers
User userpic
tmsdev
Site Admin
 
Posts: 32
Joined: Fri Mar 21, 2008 5:55 pm

Go back to System administration

  • Latest topics on our site:

    Who is currently online

    Users visiting this discussion: No registered members and 0 anonymous

    cron