LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 07-26-2005, 08:09 AM   #1
biophysics
Member
 
Registered: Jan 2002
Location: Germany
Distribution: Kubuntu
Posts: 444

Rep: Reputation: 30
chkconfig equivalent debian


Hi Gurus

I am new to debian.

I use chkconfig --del <service name> in SuSE to stop a service. What is the equivalent to stop a service **permanently** in debian (sarge)

(I want to stop sshd)

Many thanks
 
Old 07-26-2005, 08:52 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
If you don't need the service you can simply delete the package for it. If that's to much you can look in /etc/init.d where the startup scripts for programs are.
 
Old 07-26-2005, 09:12 AM   #3
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Or a more elegant way would be using the 'update-rc.d' command which allows you to add/remove/set the symlinks in /etc/rc*.d that point to scripts in /etc/init.d.
To remove a script that starts a certain service run
Code:
update-rc.d -f script_name remove
then you can keep or delete the corresponding script in /etc/init.d/
 
  


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
Is there a Solaris equivalent to chkconfig Olusegun Solaris / OpenSolaris 5 04-12-2007 02:38 PM
chkconfig in Debian bahadur Debian 1 11-10-2005 01:24 AM
equivalent to chkconfig and fam Ice9 Debian 3 01-09-2005 02:53 PM
Debian and chkconfig atheist Debian 1 06-12-2004 11:45 PM
Is there an equivalent cmd to "chkconfig (redhat)" in Debian? davidas Debian 3 04-08-2004 10:54 PM


All times are GMT -5. The time now is 08:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration