INSTALL guide for lids > 0.9.8 

Welcome to the LIDS world, I hope this short INSTALL guide can help you install
LIDS sucessfully onto your system. If you get problem when install LIDS, pls 
send message to LIDS mailing list at <lids-user@lists.sourceforge.net>, you will certainly get help from there. 

Please have a look at LIDS FAQ at http://www.clublinux.org/lids/ 
maintained by Steve Bremer. 


0) get the LIDS tar.gz file
	from www.lids.org or ftp.lids.org or other LIDS mirror sites.

1) compile the kernel with source.
	cd /dir_to_source/linux/
	patch -p1 < lids_deflate_dir/lids-0.9.8-2.2.x.patch
	make menuconfig/xconfig/config 
	make dep bzImage
	
2) compile the lidsadm in the lids-xxx.tar.gz.
	
	rm /usr/src/linux
	ln -s /dir_to_lids_source/linux /usr/src/linux
	
	cd /lids_deflate_dir/lidsadm-x.x.x/
	make
	make install

3) pre configurate the /etc/lids/

	<1> generate password into /etc/lids/lids.pw
		# lidsadm -P 
	
	<2> edit lids.cap to enable/disable capability after sealing the kernel
		# vi /etc/lids/lids.cap

	<3> edit lids.net to define the network parameter to send mail 
		through network.
		# vi /etc/lids/lids.net
	
	<4> USE lidsadm -L to view the default rules with lidsadm and then
		use lidsadm -U to update the inode/dev value.
		# lidsadm -U 

NOTE: if you get a previous lids.conf in /etc/lids.conf, you can just move it into /etc/lids/ here.
	
	<5> USE lidsadm -A -s xx -o xx -j xxx ,etc to configurate the protecting
		files. more details by "man lidsadm".
		

	<6> add a line in /etc/rc.d/rc.local to sealing the kernel after bootup.		
		/sbin/lidsadm -I

<4> copy the bzImage file into /boot/ and then edit /etc/lilo.conf 
	then run "/sbin/lilo" .

<5> reboot the system and you are in the protection of LIDS NOW.


if you get a really sucessfully application with LIDS, dont hesitate to drop me a message about that, I am really grad to hear about that news.


4 sept, 2000 
XIE(xie@gnuchina.org)

Have fun!
