How to dynamically change the runlevel of Linux system without rebooting
How to dynamically change the runlevel of
Linux system without rebooting
current run level of the system can be changed dynamically without the
necessity to reboot the system. This can be achieved using the telinit command with the required
runlevel as the command line argument.
For example you can switch into single user mode by running the
The administrator could subsequently return to full multi-user, X
graphical interface mode either by entering:
If you have made changes to the /etc/inittab file to
change the default runlevel and want to change the system to that new
default you can do so by using the telinit with the q command-line
It is important to note that telinit can only be run as
root and even then only from the system console. For a detailed
description of Runlevels and the /etc/inittab file visit Linuxtopia's "How to change the
default run level of a RedHat 9.0 or Fedora Core Linux system"