[BACK]Return to rc.securelevel CVS log [TXT][DIR] Up to [local] / src / etc

Annotation of src/etc/rc.securelevel, Revision 1.6

1.6     ! niklas      1: #      $OpenBSD: rc.securelevel,v 1.5 1997/11/04 09:15:32 deraadt Exp $
1.1       deraadt     2: #
                      3: # site-specific startup actions, daemons, and other things which
                      4: # can be done BEFORE your system goes into securemode.  For actions
                      5: # which should be done AFTER your system has gone into securemode
                      6: # please see /etc/rc.local
                      7:
                      8: # This is the desired security level
                      9: # XXX
1.4       kstailey   10: # XXX it is not really acceptable to put this value in a configuration
1.1       deraadt    11: # XXX file, because locking it down requires immutability on about
                     12: # XXX 5 files instead of 2 (the kernel and init)
                     13: # XXX
                     14: securelevel=1
                     15:
1.3       millert    16: echo 'starting pre-securelevel services:'
                     17:
                     18: # Use traditional BSD semantics with chown(2)
                     19: #echo 'Enabling traditional BSD chown(2) semantics.'
                     20: #sysctl -w fs.posix.setuid=0 >/dev/null 2>&1
                     21:
                     22: # To run an accellerated X server when securelevel > 0 we must use /dev/ap.
                     23: # NOTE: modload will panic your kernel if the booted kernel is not /bsd.
                     24: #if [ -x /sbin/modload -a -x /usr/lkm/apinstall -a -r /usr/lkm/ap.o ]; then
                     25: #      echo 'Installing XFree86 aperture driver.'
                     26: #      rm -f /usr/lkm/ap
                     27: #      modload -o /usr/lkm/ap -p /usr/lkm/apinstall -e ap /usr/lkm/ap.o
                     28: #fi
                     29:
1.1       deraadt    30: echo -n 'starting pre-securelevel daemons:'
                     31:
1.6     ! niklas     32: # Former ntpd versions was called xntpd, change the ntpd references below
        !            33: # to xntpd if you run such a version.
        !            34: #if [ -x /usr/local/sbin/ntpd ]; then
1.3       millert    35: #       /usr/local/sbin/tickadj -Aq
1.6     ! niklas     36: #       echo -n ' ntpd';       /usr/local/sbin/ntpd
1.5       deraadt    37: #fi
1.1       deraadt    38:
                     39: echo '.'