在
http://www.lids.org/下载最新版的LIDS:lids-2.2.3rc1-2.6.21.patch,及管理工具lidstools-2.2.7.2.tar.gz,同时去
http://www.kernel.org/pub/linux/kernel/下载对应版本的内核:linux-2.6.21.tar.bz2。.
放到/usr/src下
tar xvfj linux-2.6.21.tar.b..z2.
cd .linux-2.6.21.
patch -p1 ../lids-2.2.3rc1-2.6.21.pat.ch . #在linux的内核打LIDS补丁.
make menuconfig . #编译.linux内核教育
却找不到LIDS选项.,是什么原因?相关的参数应该没太大问题:EXPERIMENTAL && SYSCTL && SECURITY &.& SECURITY_SECLVL!=y. && SECURITY_ROOTPLUG!=y 健康
搜索LIDS结果如下,应该是在Securit.y options下,但其.下找不到: 电子
│ Symbol: L.IDS_MODE_SWITCH_SERIAL [=n] . . │外贸
│ Prom.pt: Allow mode swit.ching from a seria.l Console │ 杀毒
│ Defi.ned at security/lids/Kconfi.g:87 . │.
│ Depends on: EXPERIME.NTAL && SYS.CTL && SECURITY && SECURITY_SECLVL!=y && SECURITY_ROOTPLUG!.=y │ 婚庆
│ .Location: 婚庆
│ .-> Security options . . │ 鲜花
│ . ->. Enable different security models (SECURITY [=y]) . │ 婚庆
│ -> Def.ault Linux Capabilities (SECURITY._CAPABILITIES. [=y]) │外贸
│ -> LIDS support . . . │教育
.│ -> Linux Intrusion Detection System support (EXPERIMENTAL) (LIDS .[=n]) . │ 建材
.│ -> Allo.w switc.hing the LFS and States (LIDS_ALLOW_SWITCH [=n]) │ 婚庆
│ -> Restrict .mod.e switching to specified terminals (LIDS_RESTRICT_MODE_SWITC.H [ │虚拟主机