What is the purpose of the ETC inittab file?

What is the purpose of the ETC inittab file?

The /etc/inittab file supplies the script to the init command’s role as a general process dispatcher. The process that constitutes the majority of the init command’s process dispatching activities is the /etc/getty line process, which initiates individual terminal lines.

Where is the inittab file?

/etc/inittab
The /etc/inittab file was the configuration file used by the original System V init(8) daemon. The Upstart init(8) daemon does not use this file, and instead reads its configuration from files in /etc/init.

What is the difference between init and Systemd?

The init is a daemon process which starts as soon as the computer starts and continue running till, it is shutdown. systemd – A init replacement daemon designed to start process in parallel, implemented in a number of standard distribution – Fedora, OpenSuSE, Arch, RHEL, CentOS, etc.

Is init a daemon?

Init is a daemon process that continues running until the system is shut down. It is the direct or indirect ancestor of all other processes and automatically adopts all orphaned processes. Init is started by the kernel during the booting process; a kernel panic will occur if the kernel is unable to start it.

What kind of file is / etc / inittab?

The /etc/inittab file is the configuration file used by the System V (SysV) initialization system in Linux.

What does the initdefault line in / etc / inittab do?

Defines the command or script to execute. The initdefault line in /etc/inittab tells init which runlevel to go to if it has not been given that information. This line is special in that there is no command to run (all others have a value in the fourth fiedl):

How are lines in inittab related to login?

Lines in inittab aren’t sequential, or related to a login. Each line describes an action to be taken in a given set of runlevels. Thus si::sysinit:/etc/init.d/rcS specifies that init should run /etc/init.d/rcS when it handles system initialisation; this happens before logins are possible.

Where are the colons in the inittab file?

This default can be overridden at boot time by configuring the bootloader to pass init an option specifying an alternate runlevel. A line in the /etc/inittab file has four fields that are colon delimited.