LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-31-2003, 03:39 PM   #1
spank
Member
 
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, 03:45 PM   #2
david_ross
Moderator
 
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, 07:59 PM   #3
Skyline
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 08:00 PM.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:00 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
Open Source Consulting | Domain Registration