ChinaUnix.net
相关文章推荐:

chroot 相关命令

chroot命令的用法,请指点

by 小皮 - 系统管理 - 2003-05-13 22:10:50 阅读(824) 回复(1)

相关讨论

以下是执行man chroot的结果: NAME chroot -- change root directory(改变root用户的目录) SYNOPSIS chroot [-u user] [-g group] [-G group,group,...] newroot [command] DESCRIPTION The chroot utility changes its current and root directories to the sup- plied directory newroot and then exec's command, if supplied, or an interactive copy of the user's login shell. If the ...

by frankchan - BSD - 2006-01-11 09:40:49 阅读(3494) 回复(6)

各位大侠:在hp-ux11的Recover shell中,chroot_lvmdisk命令的作用是什么?我的系统装的是11.11,在Recover shell中找不到这个命令,有什么命令可以代替它吗?

by shgc - HP-UX - 2004-03-28 16:59:45 阅读(950) 回复(1)

http://www.cnfug.org/journal/1/05.html 我看了这个,想尝试一下,可以才开始就卡住了。我在/usr/sbin 里找到这个命令了,可是怎么使用呢?

by 尘飞扬_cq - BSD - 2004-02-13 23:51:12 阅读(1056) 回复(2)

openbsd的httpd有个-t(chroot)的参数, 但是用原代码生成的apache却没有, 众高手知道如何实现请指教。

by ec0131 - 服务器应用 - 2004-02-07 15:48:38 阅读(983) 回复(0)

redhat9下如何用chroot限制别人随意修改/sbin;/bin下的命令?3Q

by cgweb - 系统管理 - 2003-06-30 14:15:08 阅读(555) 回复(1)

chroot(8) OpenBSD System Manager's Manual chroot(8) NAME chroot - change root directory SYNOPSIS chroot [-g group,group,...] [-u user] newroot [command] DESCRIPTION The chroot command changes its root directory to the supplied directory newroot and executes command, if supplied, or an interactive copy of the user's shell. The chroot command ...

by atyu30 - BSD文档中心 - 2007-10-18 17:57:50 阅读(880) 回复(0)

符号链接(symlink)无法进入chroot系统 硬链接(hard link)无法进入文件系统 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/28922/showart_358149.html

by atyu30 - BSD文档中心 - 2007-08-11 15:27:50 阅读(879) 回复(0)

我在/home/tom下建立了bin,sbin,etc./usr/bin登录,然后把/bin/ls,/bin/sh,/bin/bash拷贝到/home/tom/bin下面,然后我以root身份执行chroot /home/tom时,报/bin/sh找不到,但我直接执行/home/tom/bin/sh是可以的,请问如何解决?谢谢

by davidcsc - Shell - 2007-08-07 13:11:12 阅读(1458) 回复(3)

chroot使用 chroot就是Change Root,也就是改變程式執行時所參考的根目錄位置。 一般的目錄架構: / /bin /sbin /usr/bin /home chroot的目錄架構: /hell/ /hell/bin /hell/usr/bin /hell/home * 為何要chroot? 1.限制被chroot的使用者所能執行的程式,如SetUid的程式,或是會造成Load 的 Compiler等等。 2.防止使用者存取某些特定檔案,如/etc/passwd。 3.防止入侵者/bin/rm -rf /。 4.提供Guest服務以及處罰不...

by huxh - Solaris文档中心 - 2005-12-06 16:29:56 阅读(1279) 回复(0)

按照《用SSL构建一个安全的Apache》一贴试着chroot apache,可是在启动apache时,总是提示用户错,我已经把passwd、group文件拷到了/chroot/etc/下了,试过几次了,还是不明白,请高手指教一二,谢了!

by binzai - 服务器应用 - 2003-05-25 21:53:16 阅读(1309) 回复(0)