22. LIDS States

Introductory material on LIDS states and ACL types can be found in the Quick Start.

It is a good idea to switch states automatically after the boot sequence finishes, and before shutting down the system, by creating a suitable init script

    #!/bin/sh
    
    case "$1" in
        start)    /sbin/lidsadm -I
        stop)     /sbin/lidsadm -S -- +SHUTDOWN
        *)        echo "Usage: $0 start" >&2;  exit 1  ;;
    esac
    exit 0;
and sym-linking this appropriately, e.g.,
    /etc/rc2.d/S99lidsinit 
    /etc/rc0.d/K01lidsinit
for Debian, or
    /etc/rc3.d/S99lidsinit
    /etc/rc5.d/S99lidsinit
    /etc/rc0.d/K01lidsinit
for RedHat.


...previousup (conts)next...



About this document:

Produced from the SGML: /home/mc/public_html/_unix_security/_reml_grp/unix_sec_kernel_lids.reml
On: 19/5/2006 at 11:53:2
Options: reml2 -i noindex -l long -o html -p multiple