Customizing UNIX system startup
The system initialization files contain commands or data that:
The system administrator can modify the startup files to create any initial system and user environment. For example, by adding or changing entries in the inittab file, specific terminals can be enabled (or disabled) when the system enters or leaves a particular run level. By changing a script in the /etc/rc2.d directory, process accounting can be started automatically at system startup. The administrator can also customize a specific user's environment by modifying the .profile or .login file in their home directories.
The initialization files are ordinary text files and can be modified using a text editor. Entries in the /etc/inittab file must follow a specific format described in the inittab(F) manual page. For more information on init run levels, refer to the init(M) manual page. The scripts in /etc/rc2.d and the .profile and .login files contain Bourne shell commands and comments. See Chapter 11, ``Automating frequent tasks'' in the Operating System User's Guide for more information on shell programming.