154
For example, assume you check
service is immediately enabled. The next time
Warning
When you save changes to
diately. When you save changes to other services, the runlevel is reconfigured, but the changes do
not take effect immediately.
To enable a non-
xinetd
checkbox beside the name of the service in the list. After configuring the runlevel, apply the changes
by selecting File => Save Changes from the pulldown menu. The runlevel configuration is changed,
but the runlevel is not restarted; thus, the changes do not take place immediately.
For example, assume you are configuring runlevel 3. If you change the value for the
from checked to unchecked and then select Save Changes, the runlevel 3 configuration changes so that
is not started at boot time. However, runlevel 3 is not reinitialized, so
httpd
Select one of following options at this point:
1. Stop the
httpd
button. A message appears stating that the service was stopped successfully.
2. Reinitialize the runlevel — Reinitialize the runlevel by going to a shell prompt and typing the
command
telinit 3
change the Start at Boot value of multiple services and want to activate the changes immedi-
ately.
3. Do nothing else — You do not have to stop the
rebooted for the service to stop. The next time the system is booted, the runlevel is initialized
without the
httpd
To add a service to a runlevel, select the runlevel from the Edit Runlevel pulldown menu, and then
select Actions => Add Service. To delete a service from a runlevel, select the runlevel from the Edit
Runlevel pulldown menu, select the service to be deleted from the list on the left, and select Actions
=> Delete Service.
21.4. ntsysv
The ntsysv utility provides a simple interface for activating or deactivating services. You can use
ntsysv to turn an
xinetd
By default, only the current runlevel is configured. To configure a different runlevel, specify one or
more runlevels with the
figures runlevels 3, 4, and 5.
The ntsysv interface works like the text mode installation program. Use the up and down arrows to
navigate up and down the list. The space bar selects/unselects services and is also used to "press" the
Ok and Cancel buttons. To move between the list of services and the Ok and Cancel buttons, use the
[Tab] key. An * signifies that a service is set to on. Pressing the [F1] key displays a short description
of the selected service.
Warning
Services managed by
not take effect immediately. You must stop or start the individual service with the command
to enable it in runlevel 3 and then save the changes. The
rsync
services,
xinetd
service to start at boot time for the currently selected runlevel, check the
service — Stop the service by selecting it from the list and clicking the Stop
(where 3 is the runlevel number). This option is recommended if you
service running.
-managed service on or off. You can also use ntsysv to configure runlevels.
option. For example, the command
--level
are immediately affected by ntsysv. For all other services, changes do
xinetd
Chapter 21. Controlling Access to Services
is started,
xinetd
rsync
is restarted, and the changes take place imme-
xinetd
service. You can wait until the system is
httpd
is still enabled.
httpd
is still running.
httpd
ntsysv --level 345
rsync
service
con-
service
Need help?
Do you have a question about the ENTERPRISE LINUX 3 and is the answer not in the manual?