作者hyunwoo003 (captain)
看板Linux
标题[问题] Linux ssh chroot jail 执行程式问题
时间Wed Nov 25 17:18:28 2015
我利用ubuntu 14.04架了一个 Server,并将ssh登入的使用者设定ssh chroot jail,因
为这台Server有使用R语言的运算需求,因此我将/usr/bin/R还有/usr/lib
/usr/local/lib都复制到jail的目录里。问题来了,当使用者登入执行之後,就会变成这
样:
/usr/lib/R/bin/exec/R: error while loading shared libraries: libblas.so.3:
cannot open shared object file: No such file or directory
很明显的,是抓不到shared library,但是这里该如何处理呢?
徵求各位Linux高手们解答,谢谢!!
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 103.226.213.197
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Linux/M.1448443110.A.36B.html
1F:→ kenduest: 要在该 chroot 环境内执行 ldconfig 更新 library 的 11/25 18:51
2F:→ hyunwoo003: 我在chroot环境下执行ldconfig,ldconfig拥有者为root 11/25 21:58
3F:→ hyunwoo003: 设了SUID之後还是Permission denied 11/25 21:58