LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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



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

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

All times are GMT -5. The time now is 09:46 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