definitions
来自「主要实现锁定用户工作目录功能,实装环境:linux」· 代码 · 共 52 行
TXT
52 行
# ----------------------------------------------------------------------------## freeBSD definitions## $Id: definitions,v 1.1 2004/01/01 18:26:10 assman Exp $## $Log: definitions,v $# Revision 1.1 2004/01/01 18:26:10 assman# Upgraded version## Revision 1.1.1.1 2001/10/26 09:36:09 assman# Added support for new platforms: FreeBSD, Solaris, IRIX. Now some options# can be selected from the Makefile script: DEBUG on/off, install path,# install permissions, etc. The perl scripts have been rewritten so they# support platform-specific code, so port Jail to another platform should# be an easy task.### ----------------------------------------------------------------------------@PASSWD_USERS = ( "root", "daemon", "bin", "kmem", "tty", "man", "nobody" );@GROUP_USERS = ( "wheel", "daemon", "kmem", "sys", "tty", "bin", "man", "staff", "nogroup", "nobody" );@DEVICE_FILES = ( "/dev/zero", "/dev/null", "/dev/urandom" );## load the command lookup table#@PRG_ALIAS = ();$PRG_ALIAS{"ls"} = { 'name' => "/bin/ls", 'args' => '-lan' };$PRG_ALIAS{"strace"} = { 'name' => "/usr/bin/truss", 'args' => '' };$PRG_ALIAS{"file"} = { 'name' => "/usr/bin/file", 'args' => '' };$PRG_ALIAS{"whereis"} = { 'name' => "/usr/bin/whereis", 'args' => '' };$PRG_ALIAS{"ldd"} = { 'name' => "/usr/bin/ldd", 'args' => '' };$PRG_ALIAS{"mknod"} = { 'name' => "/sbin/mknod", 'args' => '' };$PRG_ALIAS{"pwd_mkdb"} = { 'name' => "/usr/sbin/pwd_mkdb", 'args' => '' };$PASSWD_FILE = "/etc/master.passwd";## load the standard programs table# (add custom plataform programs here)##$PROGRAM_LIST{'sh'} = "";1;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?