Tue 21 Feb 2012 07:29:18 AM UTC, original submission:
http://olivier.sessink.nl/jailkit/howtos_ssh_only.html
Under the heading Jk_lsh in the chroot jail the third line of the third code example says "peek = 10240" which should be "peak = 10240".
http://olivier.sessink.nl/jailkit/howtos_cvs_only.html
Same problem. Under Executing cvs, and only cvs, third line of third code block is "peek = 10240" which should be "peak = 10240".
if, under the heading Jail the user, on the first code block, the line "jk_jailuser -m -j /home/jail mike" is a typo and should be "jk_jailuser -m -j /home/cvsjail mike", then the line "jk_init -v -j /home/cvsjail jk_lsh" should be run before it, or jk_jailuser will exit with an error invalid shell, /home/cvsjail/usr/sbin/jk_lsh does not exist.
I know this is already offtopic, but i also had to change the paths directive under [uidbasics] in /etc/jailkit/jk_init.ini to 'paths = /lib/i386-linux-gnu/libnsl.so.1, /lib/i386-linux-gnu/libnss*.so.2, /etc/nsswitch.conf, /etc/ld.so.conf' to get the cvs_only example to work.
Tested on ubuntu 11.10 oneiric.
|