LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-12-2005, 02:44 AM   #1
bahadur
Member
 
Registered: Apr 2004
Distribution: Linux Red Hat
Posts: 141

Rep: Reputation: 15
controlling the linux boot up process


Hi,

I need a good resource or article on the linux boot up process.

there are lots of things which get started with my box that i dont need like sendmail lpd etc etc.

i want to have a complete control over what i want and what i dont want.

the things which i dont want i would like to disable them so that they dont start up while the system boots.
 
Old 07-12-2005, 04:31 AM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
go to the /etc/rc.d folder and see which files are executable. It's quite simple actually. The files that are executable, will run at boot time. The ones that are not, will not run at boot time.
 
Old 07-12-2005, 07:18 PM   #3
bahadur
Member
 
Registered: Apr 2004
Distribution: Linux Red Hat
Posts: 141

Original Poster
Rep: Reputation: 15
ok one more question.

the name of the rc directories includes a number which shows which run level it relates to.

like rc03 means the directory which contains the scripts related to run level 3.

inside the directory there are symlinks like


S09isdn S26apmd S90xfs
K05atd K35winbind K54pxe K86nfslock S10network S55sshd S95anacron
K05saslauthd K44rawdevices K72autofs K87portmap S12syslog S60lpd S99local
K15httpd K45named K74ntpd K95firstboot S17keytabl

what are these numbers for?

like S17keytabl. what does 17 stand for?
 
Old 07-13-2005, 05:20 PM   #4
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
The smaller the number, the sooner the script loads. The ones begining with S are the services that get started and the ones starting with K are the ones getting killed in that particular runlevel. S1keytabl would then mean, that the keytable service is starting in that runlevel and the number 17 would put it before 18+ and behind 16-
 
Old 07-14-2005, 06:55 AM   #5
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Quote:
there are lots of things which get started with my box that i dont need like sendmail lpd etc etc.
You might want to keep a mailer on your computer.
If you really don't need a program, you should uninstall it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux boot up process Vs. Windows boot up process darkskull Linux - Software 7 12-30-2006 04:21 PM
Linux CD boot process amnesty_puppy Linux - General 1 11-29-2004 06:41 AM
Controlling what programs run after boot.. Linux~Powered Linux - Software 1 02-16-2004 04:15 PM
Controlling process and thread security synna Programming 4 01-27-2004 06:28 AM
A Question .. Linux boot process pyramid Linux - General 3 03-23-2001 06:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration