openbsd-misc
[Top] [All Lists]

Re: Switching between system runlevels

To: tolls <tolls@kencaryl.net>
Subject: Re: Switching between system runlevels
From: Jedi/Sector One <j@pureftpd.org>
Date: Thu, 28 Feb 2002 22:52:38 +0059
Cc: Andrew Falanga <afalanga@linora.com>, misc@openbsd.org
In-reply-to: <20020228143229.4ad35550.tolls@kencaryl.net>
References: <3C7E5C29.2010502@linora.com> <20020228143229.4ad35550.tolls@kencaryl.net>
Sender: owner-misc@openbsd.org
User-agent: Mutt/1.3.25i
On Thu, Feb 28, 2002 at 02:32:29PM -0700, tolls wrote:
>  I believe OpenBSD only has basically two runlevels,
> multi-user and single user modes.  As opposed to linux which has like
> runs levels from 1 to 6.  Like I said this is my best recollection. 

  No.
  
  Linux has SysV runlevels. One level is associated to a couple of programs
that have to run. For instance runlevel 3 will start all daemons, but no X,
while runlevel 5 will. The single user mode only means to start almost
nothing. Runlevels are just a set of scripts in /etc/init.d (linked from
/etc/rc.*) that are called when switching from one level to another one.
Everything happens in userland.

  OpenBSD has three *security* levels. Security levels are handled by the
kernel. In securelevel 1 and 2, the *kernel* will refuse some operations
like changing firewall rules or changing file attributes. See man chflags
and man securelevel.

  These are two really different things.

-- 
 __  /*-      Frank DENIS (Jedi/Sector One) <j@42-Networks.Com>     -*\  __
 \ '/    <a href="http://www.PureFTPd.Org/";> Secure FTP Server </a>    \' /
  \/  <a href="http://www.Jedi.Claranet.Fr/";> Misc. free software </a>  \/

<Prev in Thread] Current Thread [Next in Thread>