How do I edit inittab in AIX?

How do I edit inittab in AIX?

Modifying the /etc/inittab file

  1. To add a record to the /etc/inittab file, type the following at a command prompt: mkitab Identifier:Run Level:Action:Command.
  2. To change a record to the /etc/inittab file, type the following at a command prompt: chitab Identifier:Run Level:Action:Command.

How do you change the init process?

To make the changes permanently, change the default level in the file /etc/inittab. After all the processes, init waits for one of its descendent process to die, for a powerfail signal. Or wait until telinit signals to change the runlevel. When above conditions occur, it re-examines the /etc/inittab file.

What is ETC inittab file?

The /etc/inittab file is the configuration file used by the System V (SysV) initialization system in Linux. This file defines three items for the init process: the default runlevel. what processes to start, monitor, and restart if they terminate. what actions to take when the system enters a new runlevel.

How do you comment etc Inittab in AIX?

To comment out an entry in the /etc/inittab file, add : or # at the beginning of the entry. Example: The following entry is commented out. A string of 1 to 7 characters that uniquely identifies the entry. The ID is used as the job name for the process.

How do I stop init process?

You can, loosely, kill init by issuing a kill -TERM 1 which would be analogous to issuing a halt or shutdown in that init will pass the signal to all children, essentially all other processes, before honoring the signal itself. Please note: performing this command will shutdown your system.

How to run the / etc / inittab file?

The /etc/inittab File (System Administration Guide: Basic Administration) Documentation Home > System Administration Guide: Basic Administration > Chapter 11 Run Levels and Boot Files (Tasks) > The /etc/inittab File System Administration Guide: Basic Administration Previous: Run Levels Next: Run Control Scripts The /etc/inittabFile

Which is the default run level in inittab?

Initializes file systems Defines default run level Describes a power fail shutdown Defines single-user level Defines run level 0 Defines run level 1 Defines run level 2 Defines run level 3 Defines run level 5 Defines run level 6 Defines an unused level, firmware Defines an unused level, off Defines an unused level, reboot

What do I need to know about the initprocess file?

This file defines three important items for the initprocess: The system’s default run level What processes to start, monitor, and restart if they terminate What actions to take when the system enters a new run level Each entry in the /etc/inittabfile has the following fields: id:rstate:action:process

Which is the default inittab file in Solaris?

The following example shows an annotated default inittabfile that is installed with the Solaris release: