Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-31-2003, 04:39 PM   #1
Registered: Aug 2003
Location: Romania
Distribution: Ubuntu 6.06
Posts: 278

Rep: Reputation: 30
start proceses

When Linux boots it starts some services. How do I stop them from starting ?
Old 08-31-2003, 04:45 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
take a look at chkconfig or ntsysv. ntsysv is graphical or chkconfig is command line. To see enabled disabled services:
chkconfig --list

To turn a service eg "httpd" on:
chkconfig --level 345 httpd on

To turn a service eg "httpd" off in runlevel 5 only:
chkconfig --level 5 httpd off
Old 08-31-2003, 08:59 PM   #3
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
...........or you could always move your chosen S symlinks from the relevant /etc/rc.d subdirectory ( /etc/rc.d/rc5.d for run-level 5 ) -

Simply create a new directory first which will hold the moved symlinks.

su to root in a shell - then

mkdir /etc/stoped_services

then (for example)

mv /etc/rc.d/rc5.d/S20random /etc/stoped_services

On reboot your random number generator wont start up because there is nothing pointing to the actuall service in /etc/rc.d/init.d from /etc/rc.d/rc5.d because youve moved the symlink.

Last edited by Skyline; 08-31-2003 at 09:00 PM.


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
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 02:59 PM
disable cold start and warm start snmp traps chkisco Linux - Newbie 0 10-28-2005 03:58 AM
fc2-gnome : Applications dont start / very slow to start nox104 Linux - Software 0 08-18-2004 09:53 PM
Can I gett KPPP to start when I start a browser on a network machine? duffboygrim Linux - Networking 0 03-25-2004 05:49 PM
defunct proceses? JustinHoMi Linux - General 2 10-01-2001 03:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:03 AM.

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