# /etc/inittab # # SysVinit # Each non-comment line is a data record entry with the following format: # ::: # # id: Unique sequence of 1-4 characters identifying an entry in inittab # runlevels: lists the runlevels for which the specified action should be taken # action: describes which action should be taken # process: specifies the process to be executed # Default runlevel id:3:initdefault: # System initialization before anything else (runs when system boots). si::sysinit:/etc/rc.d/init.d/rc sysinit # System halting l0:0:wait:/etc/rc.d/init.d/rc 0 # Single-user mode l1:1:wait:/etc/rc.d/init.d/rc 1 # Not used l2:2:wait:/etc/rc.d/init.d/rc 2 # Full multi-user mode l3:3:wait:/etc/rc.d/init.d/rc 3 # Not used l4:4:wait:/etc/rc.d/init.d/rc 4 # Full multi-user mode (X-windows) l5:5:wait:/etc/rc.d/init.d/rc 5 # System reboot l6:6:wait:/etc/rc.d/init.d/rc 6 # Trap CTRL-ALT-DELETE ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now su:S016:once:/sbin/sulogin # getty-programs for the normal runlevels # 'getty' opens a tty port, prompts for a login name and invokes the # /bin/login command. # The field MUST be the same as the last # characters of the device (after "tty"). 1:12345:respawn:/sbin/agetty --noclear 38400 tty1 2:2345:respawn:/sbin/agetty --noclear 38400 tty2 3:2345:respawn:/sbin/agetty --noclear 38400 tty3 4:2345:respawn:/sbin/agetty --noclear 38400 tty4 5:2345:respawn:/sbin/agetty --noclear 38400 tty5 6:2345:respawn:/sbin/agetty --noclear 38400 tty6 # Run xdm or kdm in runlevel 5 # kdm or xdm is now a separate service x:5:respawn:/usr/bin/xdm -nodaemon