⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 definitions

📁 主要实现锁定用户工作目录功能,实装环境:linux
💻
字号:
# ----------------------------------------------------------------------------## Linux 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 = 0640;@PASSWD_USERS = ( "root", "daemon", "bin", "sys", "man", "nobody" );@GROUP_USERS =  ( "root", "daemon", "bin",     "sys",   "adm", "tty",		  "disk", "kmem",   "dialout", "cdrom", "floppy",		  "tape", "audio",  "users",   "nogroup"  );@DEVICE_FILES = ( "/dev/zero", "/dev/null", "/dev/urandom" );@DONT_OVERWRITE = ( "/etc/passwd", "/etc/group", "/etc/shadow" );## load the command lookup table#@PRG_ALIAS = ();$PRG_ALIAS{"ls"}       = { 'name' => "/bin/ls", 'args' => '-lan' };$PRG_ALIAS{"strace"}   = { 'name' => "/usr/bin/strace", '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' => "/bin/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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -