search for: chwrap

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

Did you mean: rhwrap
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/passw...