init configuration : controlling the services and daemons starting at boot time.
Posted on 2004-04-07
I have Red Hat Linux 8.0 installed on a standalone P-4 workstation, having 128 MB RAM and 120 GB Hard disk. My question is :----
Which file within the system contains the configuration that determines what are the services/daemons that get stared at the time of startup?What is its relationship with init and /etc/inittab ? (e.g. on my system, it gives messages like Starting lpd, Staring xinetd, Starting APM Daemon, Starting anacron, Starting cannaserver ....... and many more, followed by[OK]). Also please tell me about its location.(is it /etc/init.d/rc.sysinit ?).
I would also like to know, if it conains a human readable list of services and their starting order and if so, is it possible to delete one of these entries or comment them out so that the service does not startup during boot time?(e.g. I don't have a printer and do not want the lpd daemon to start). If not, then how to stop/prevent some of these services from getting started during startup?(like we can run msconfig in windows systems and can opt for a selective startup).
Is it safe enough to edit this configuration file? Are there any precautions to be ovserved before editing it? Please help me out as I cannot locate the configuration files, even after reading the man entries for init and tellinit. As this qusetion shows, i am a relatively new linux user and don't yet know my way around.Pl. help.