search for: jk_init

Displaying 1 result from an estimated 1 matches for "jk_init".

Did you mean: jk2_init
2008 Feb 03
1
Chrooted R + Rserve
I successfully chrooted R running Rserve with an unprivileged user, and thought I'd publish the process. Attached is a jailkit.ini for use with jailkit;* and a chroot/setuid wrapper, chwrap.c. To set up the chroot in, for instance, /var/R; perform: mkdir -v /var/R jk_init -v -c jailkit.ini -j /var/R R then create the unprivileged user `r': useradd r After compiling chwrap with: gcc -o chwrap chwrap.c finally invoke Rserve with r's uid and gid (see /etc/passwd): chwrap [UID] [GID] /var/R /usr/local/bin/Rserve ----------- * http://olivier.sessi...