definitions

来自「主要实现锁定用户工作目录功能,实装环境:linux」· 代码 · 共 55 行

TXT
55
字号
# ----------------------------------------------------------------------------## IRIX 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.### ----------------------------------------------------------------------------$SHADOW_FILE_MASK = 0400;@PASSWD_USERS = ( "root",   "sysadm", "bin", "daemon", "sys", "adm",                   "nobody", "noaccess" );@GROUP_USERS =  ( "sys", "root", "daemon", "bin", "adm", "other", "nobody" );@DEVICE_FILES = ( "/dev/zero", "/dev/null");@DONT_OVERWRITE = ( "/etc/passwd", "/etc/group", "/etc/shadow" );## load the command lookup table#@PRG_ALIAS = ();$PRG_ALIAS{"ls"}       = { 'name' => "/usr/bin/ls", 'args' => '-lan' };$PRG_ALIAS{"strace"}   = { 'name' => "/usr/sbin/par", 'args' => '' };$PRG_ALIAS{"file"}     = { 'name' => "/usr/bin/file", 'args' => '' };$PRG_ALIAS{"whereis"}  = { 'name' => "/usr/bsd/whereis", 'args' => '' };$PRG_ALIAS{"ldd"}      = { 'name' => "/usr/bin/ldd", 'args' => '' };$PRG_ALIAS{"mknod"}    = { 'name' => "/sbin/mknod", 'args' => '' };$SHADOW_FILE = "/etc/shadow";## load the standard programs table# (add custom plataform programs here)##$PROGRAM_LIST{'sh'} = "";1;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?