answersLogoWhite

0

The init program is the first program run after your kernel begins running. It is configured with the /etc/inittab file. By modifying your /etc/inittab file, you change your system configuration in the following areas:

  1. Start up system run level.
  2. Specify processes to be executed during system boot.
  3. Specify processes to be run when the specified runlevel is entered.
  4. Specify processes to be run on certain runlevels with actions like respawn so the process is restarted any time it terminates.
  5. Specify certain actions or processes to be run if certain signals or user actions are indicated.
User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What process always starts first when Linux boots?

init.Answer:'init' is always process ID 1.


How do you invoke a user program from the kernel?

The Linux kernel will automatically call "init." init will in turn launch any other processes. You can add a process in by creating a script for it in the appropriate run level.


What is process id of Linux kernel?

The Linux kernel does not have a process id (also called pid). Process 1 is almost always the process scheduler, init. PIDs are assigned to each subsequent process that is started and they will usually vary. Do not remove init, doing so would likely have catastrophic consequences, a kernel panic for instance. Unless you particularly enjoy using the crash utility. $ man crash [JMH]


What command would cleanly reboot your Linux box?

init 6


What would you name the link to an init script that would start the fictitious bigd daemon early in the boot process in Fedora Linux?

/etc/rc5.bigd.d


Which file contains the boot related information in Linux?

There's no single file that contains the boot information. Nor is the method of booting uniform across all platforms and distributions. There are dozens of bootloaders, each of which have their own configuration files in various locations.


What are 6 high level stages of Linux boot process?

The Linux boot process consists of six high-level stages: BIOS/UEFI Initialization: The system firmware initializes hardware components and performs a POST (Power-On Self-Test). Bootloader Stage: The bootloader (like GRUB or LILO) is loaded, which then loads the Linux kernel into memory. Kernel Initialization: The kernel initializes system resources, mounts the root filesystem, and prepares the system for user space. Init Process: The kernel starts the init process (usually systemd or SysVinit), which is the first user-space program. Runlevel/Target Setup: The init process sets up the desired runlevel or target, launching necessary services and processes. User Login: Finally, the system presents a login prompt or graphical interface, allowing users to log in and interact with the system.


What Linux command will let you most safely switch to run level 2 without rebooting the computer?

Assuming the Linux distribution in question uses a classic SysV Init, you run, as root: # init 2 If you have systemd then there is no runlevel 2. I don't know about upstart. OpenRC is built around SysV Init, but likely systems using it generally ignore runlevels in favor of the initscript configs. Further, most Linux distributions I can think of don't use runlevel 2 at all. Check the documentation for your distribution to see what it is, if anything.


What process has the process id of 1 and is known as the father of all processes?

The process is called 'init'


Who is the parent of the zombie process?

zombie processes are inherited by the 'init' process (PID 1)


What kind of operating system is Init?

Init, short for initialization is a process that is the direct or indirect ancestor of all other processes. It is the first process started during booting. It collects all processes that are have been 'orphaned'. Init runs until the system is powered off.


What is process-id of Linux kernel?

The Linux kernel doesn't consider itself a process, therefore it has no process id.