9.9. The SysV Init Configuration Module

As explained in the introduction to this chapter, the very first file read by the system to determine which commands to run at boot time is /etc/inittab. It is read by the init program, which is the first process to be run after the Linux kernel finishes loading, and remains running until the system is shut down. The inittab file specifies which runlevel to boot into, the commands to be run to start all of the action scripts, processes to begin displaying text and graphical login prompts, and commands to run in the case of an impending power failure.

The SysV Init Configuration module, found under the System category in Webmin, can be used to edit any of these commands. As they are critical for ensuring that your system boots up properly, however, editing them is a bad idea unless you really know what you are doing. The only thing that you might want to change is the bootup runlevel so your system does not display an unnecessary graphical login prompt if it is not needed.

To change the initial runlevel, follow these steps:

1.
Enter the SysV Init Configuration module. The main page will display a list of commands and the runlevels and situations in which they are executed, as shown in Figure 9.4.

Figure 9.4. The SysV Init Configuration module.


2.
Click on the entry in the ID column for the row in which the Action is After system boot. This will take you to a form for editing the inittab file entry.

3.
For the Bootup runlevel option, de-select whichever level is currently selected and choose a new one. Make sure that you choose exactly one level, such as 3 (for text login mode) or 5 (for graphical login mode). See the explanation in the introduction to this chapter for details on what each runlevel means.

4.
Click the Save button to have your change written to the inittab file. The browser will return to the main page of the module.

5.
If you like, you can reboot the system now using the Bootup and Shutdown module.

The module is also available on the Solaris, HP/UX, UnixWare, OpenServer, AIX, and Irix operating systems. Its basic structure and purpose is the same on all systems, but the actual default commands will differ significantly. The previous instructions for changing the bootup runlevel, however, will work on all operating systems.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.153.31