Chapter 3 Flashcards
Which of the following would be a reasonable default runlevel for a rack mounted network server?
3
Which runlevel is traditionally associated with shutting down a machine?
0
Which of the following command lines or actions could be used to reboot the machine?
All of the above
Use the following information to answer the next question.
[elvis@station ~]$ grep ^id /etc/inittab
id:3:initdefault:
[elvis@station ~]$ grep ^ACTIVE /etc/sysconfig/init
ACTIVE_CONSOLES=/dev/tty[1-6]
[elvis@station ~]$ grep exec /etc/init/control-alt-delete.conf
exec /sbin/shutdown -h now “Control-Alt-Delete pressed”
-
If a machine were booted without anyuser intervention, how many mingetty processes would be started directly by the init process?
6
Upon pressing the CTRL-ALT-DEL key sequence, what will happen?
The system will gracefully shutdown.
Once a machine has booted directly into runlevel 5, which of the following processes would not have been started directly by init?
All of the above processes would have been started by init
You decide that you would like to have two additional virtual consoles present login prompts. What file should be edited to add the additional mingetty processes?
/etc/sysconfig/init
Which of the following command lines would schedule a shutdown of the machine for 2 hours after it was executed?
shutdown -h +120
You find a Red Hat Enterprise Linux machine with the following line in its /etc/inittab file.
id:6:initdefault:
What would be the most appropriate name for the machine?
yo-yo
Which of the following commands could be used to perform an immediate shutdown of the machine?
All of the above