LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-17-2009, 05:45 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Why those extra run-levels in Debian?


From Debian Doc it seems that runlevels 2-5 (multi-user) are all the same with default being 2.

Also the contents of the directories /etc/rc2.d/ to /etc/rc5.d/ are the same too.

Then what is the purpose of providing these additional run-levels? I am sure they might be for some special purpose which I am not aware off.

Anybody?
 
Old 03-17-2009, 07:09 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
Typically they're used so you can set up runlevels for whatever you like. In other distros, many times they are setup with something like

5 = multi-user graphical desktop with networking
4 = multi-user graphical desktop without networking
3 = multi-user text only with networking
2 = multi-user text only without networking

But you can modify the startup scripts for the different runlevels. Maybe you have a test server and you'd like a runlevel that only had apache and postfix running. Then you might have another runlevel that had mysql, apache, and sendmail. And on and on. Basically it just gives you some preconfigured options for boot levels. Debian doesn't set them up for you. By default they are all the same.

I use a command line tool to edit my runlevels, sysv-rc-conf that is an easy command line interface.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
trying to fix xwindows or just run command line... changing run levels dave247 Debian 2 11-18-2008 07:11 PM
Booting to different run levels ahh_username_taken Slackware 6 09-01-2008 11:24 AM
Standard Run Levels? TGWDNGHN Linux - General 2 12-24-2006 12:56 PM
what are run levels in chkconfig tej Linux - Newbie 1 09-20-2004 02:15 AM
Changing Run Levels unclebyron Linux - General 1 01-28-2002 05:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:13 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration