next up previous
Next: About this document ...




Systemdienste und Betriebssystemadministration




BSD Bootvorgang
init, runlevel, rc-Skripte




Stephan Uhlmann <su@su2.info>
05.07.2002

Copyright 2002 Stephan Uhlmann

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. A copy of the license can be obtained from http://www.gnu.org/licenses/fdl.html.

0

Betrachtete Betriebssysteme

  1. FreeBSD 4.5
  2. NetBSD 1.5.2
  3. MacOS X 10.1.3

1

Gemeinsamkeiten

1

Bootvorgang

  1. Kernel startet /sbin/init als ersten Prozess
  2. init: Kernel Security-Level +1 (0->1 (secure))
  3. /etc/rc wird ausgeführt -> Bootskripte

    1. OK: Multi-User -> /etc/ttys
      - Terminals: /usr/libexec/getty
      - beliebige Daemons
    2. FAIL: Single-User
      - root Shell -> D: Multi-User
      - tty 'insecure' (/etc/ttys) -> root Passwort

1

FreeBSD

1

FreeBSD

1

NetBSD

1

NetBSD

1

MacOS X

1

StartupParameters.plist:

{

  Description     = "Sun network file system";

  Provides        = ("NFS");

  Requires        = ("Portmap", "Resolver");

  OrderPreference = "None";

  Messages =

  {

    start = "Starting network file system";

    stop  = "Stopping network file system";

  };

}

1

MacOS X

1

Literatur




next up previous
Next: About this document ...
2002-09-09