Which keyword is used in the /etc/inittab file to define the default system runlevel?
Answer: initdefault
Explanation:
See http://linux.die.net/man/5/inittab
respawn – The process will be restarted whenever it terminates (e.g. getty).
wait – The process will be started once when the specified runlevel is entered and init will wait for its
termination.
once – The process will be executed once when the specified runlevel is entered.
boot – The process will be executed during system boot. The runlevels field is ignored.
bootwait – The process will be executed during system boot, while init waits for its termination (e.g.
/etc/rc).
The runlevels field is ignored.
off – This does nothing.
ondemand – A process marked with an ondemand runlevel will be executed whenever the specified
ondemand runlevel is called. However, no runlevel change will occur (ondemand runlevels are ‘a’,
‘b’, and ‘c’).
initdefault – An initdefault entry specifies the runlevel which should be entered after system boot. If
none exists, init will ask for a runlevel on the console. The process field is ignored.
sysinit – The process will be executed during system boot. It will be executed before any boot or
bootwait entries. The runlevels field is ignored.
powerwait – The process will be executed when the power goes down. Init is usually informed about
this by a process talking to a UPS connected to the computer. Init will wait for the process to finish
before continuing.
powerfail – As for powerwait, except that init does not wait for the process’s completion.
powerokwait -This process will be executed as soon as init is informormed that the power has been
restored.
powerfailnow – This process will be executed when init is told that the battery of the external UPS is
almost empty and the power is failing (provided that the external UPS and the monitoring process
are able to detect this condition).
ctrlaltdel – The process will be executed when init receives the SIGINT signal. This means that
someone on the system console has pressed the CTRL-ALT-DEL key combination. Typically one wants
to execute some sort of shutdown either to get into single-user level or to reboot the machine.
kbrequest – The process will be executed when init receives a signal from the keyboard handler that
a special key combination was pressed on the console keyboard.