LIDS Stateful ACL

1. What is "state" in the LIDS?

A. LIDS divide the system into 3 states, 
	"BOOT": when the system booting up, intial all the system, starting
                the daemon. 
	"POSTBOOT": when booting stop and enter a normal usage state.
	"SHUTDOWN": when the machine is shutting down.

2. How do I know which state I was in?

A. using "dmesg" will show the kernel printing out "LIDS: Enter XXX state".

3. How to enter "BOOT" state?

A. BOOT state is automatically started when LIDS setting up. You do not need
   to do anything and you can not control it.

3. How to enter "POSTBOOT" state?

A. When in "BOOT" state, sealing the kernel will make the LIDS enter "POSTBOOT"
   state. so "#lidsadm -I" will enter this state.

4. How to enter "SHUTDOWN" state?

A. You can use lidsadm, type 
	# lidsadm -S -- +SHUTDOWN
   will enter SHUTDOWN state.

5. What is differnce between this state?

A. The difference is they use difference configure files. 

6. What is the "GLOBAL" ACL?

A. "GLOBAL" ACL is used in all 3 states? it provide default ACLs.

7. What if the acl in any 3 states conflit with "GLOBAL" acl?

A. Individual state's ACL will be overwrite the global acls. 

8. How do I know if there is any conflit? 

A. using "lidsconf -C" will do the intergity checking and show 
   all the "WARNING" message.

9.  How can I add a rule into "BOOT" state?

A. 	
	# lidsconf -A BOOT -s subject -o object -j action 

10. How can I add a rule into "GLOBAL" acls ?

A. 
	# lidsconf -A -s subject -o object -j action.
