System Services (runlevel)

From openSUSE

Warning !  

Recommended for Advanced Users Only

Do Not make changes to services that you do not know about, you may make the system unreliable or fail to start completely by disabling critical system services.

The System Services (runlevel) YaST administion tool alows you to configure what services are run when the system starts and can put the system into different operating modes (like single user, no GUI). With the runlevel settings, you can enable the network printing service (or "CUPS printer daemon").

Contents

Starting YaST

  1. Start YaST (you will be prompted to provide a root password)
  2. Locate "System Services (RunLevel)" YaST administration tool

or

  1. Run yast2 runlevel command as Super User (root). (you will be prompted for a password)

Explaining Runlevel

OpenSUSE uses various runlevels to easily control when the System Services are supposed to run. This allows you to boot the computer in a 'maintenance' mode (init 1) or more suitable for web server so that the system starts without the GUI (init 3).

SuSE's Runlevels Explained

Wikipedia Article on Run Level

Enable or Disable a System Service

The YAST tool provides a Simple Mode and Advanced Mode for configuring services.

Simple Mode

This allows you to Enable or Disable a particular service.

  1. Select the service you want to change
  2. Click on 'Enable' to run that service, or 'Disable' to stop the service.
  3. When done, click Finish. The services will start immediately (no system restart needed).

Advanced Mode

Advanved Mode allows you to specify the runlevel that a service is started or stopped.

For more helpful information, read the article about Managing Runlevel Services in SUSE Linux