Saturday, May 22, 2010

Running an rssh chroot on Ubuntu Lucid 10.04

I had some trouble getting a chroot running for rssh on Ubuntu Lucid 10.04. I ran the script below:

/usr/share/doc/rssh/examples/mkchroot.sh /var/chroot

It created most of the files, but didn't include the right libraries. Here's the minimum file listing I've been able to use:



libnsl was the tricky one that I found by trial and error. I installed bash inside the chroot and tested running each binary. Everything runs without libnsl, but its required if you want it to work with rssh.

No comments:

Post a Comment