O'Reilly logo

Practical Linux by Bill Ball, John Ray, Michael Turner, M. Drew Streib

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the ntsysv Tool

ntsysv is the text-mode service manager for Red Hat Linux. It is quite a bit simpler to use than tksysv, mainly because it deals with things one run level at a time.

To start ntsysv, type the command ntsysv --level <runlevel>, in which <runlevel> is the run level you want to edit. To edit multiple run levels with ntsysv, list them all (for example, 234).

Adding or removing a service to a run level by using ntsysv

  1. Log in as root.

  2. Issue the command ntsysv --level <runlevel> in which <runlevel> is the number of the run level you want to edit.

  3. Use the up and down arrow keys to move to the service that you want to modify.

  4. Press the Spacebar to turn the service on or off for the run level.

  5. Repeat steps 3 and 4 to turn any additional ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required