In this chapter, we have examined the different processes and techniques involved in initializing and booting a Solaris system. Once a system has been installed, many applications and services require startup scripts to be written and maintained , so it s critical that administrators understand the sequence of boot and shutdown scripts before modifying existing files.
1. | What is the purpose of run level 0?
|
|
2. | What is the purpose of run level 1?
|
|
3. | What is the purpose of run level 2?
|
|
4. | What is the purpose of run level 5?
|
|
5. | What user access is granted at run level 0?
|
|
6. | What user access is granted at run level 1?
|
|
7. | What user access is granted at run level 2?
|
|
8. | What user access is granted at run level 4?
|
|
9. | What are the most commonly found entries in /etc/inittab ?
|
|
10. | If the administrator wished to reboot with two minutes warning given to all users, without user intervention, what shutdown command would be used?
|
|
Answers
1. | C. Run level 0 is the hardware maintenance state. |
2. | B. Run level 1 is the administrative state. |
3. | A. Run level 2 is the first administrative state. |
4. | D. Run level 5 is the power off state. |
5. | A. Only console access is available at run level 0. |
6. | B. Single-user access is available at run level 1. |
7. | C. Multiuser access is granted at run level 2. |
8. | D. Access at run level 4 is user-defined. |
9. | A. The sysinit , respawn , initdefault , wait , and powerfail entries are most commonly found in /etc/inittab . |
10. | B. The shutdown -i 6 -g 120 “y command will perform a reboot with two minutes warning given to all users, without user intervention. |