LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-05-2004, 11:23 AM   #1
fhameed
Member
 
Registered: Oct 2003
Location: Pakistan
Posts: 59

Rep: Reputation: 15
how 2 remove services from startup??


Hello everyone

Can one please guide me to the script if any from where i can remove the services that run on startup(when linux boots).

Please provide me with exact path and location.

I want 2 shutdown all those services that i currently don't use for faster bootup time and more security...

Thanks

Fahad
 
Old 08-05-2004, 11:36 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 23,873

Rep: Reputation: 5259Reputation: 5259Reputation: 5259Reputation: 5259Reputation: 5259Reputation: 5259Reputation: 5259Reputation: 5259Reputation: 5259Reputation: 5259Reputation: 5259
What distribution are you running?
 
Old 08-05-2004, 11:40 AM   #3
BrianWGray
Member
 
Registered: Oct 2003
Posts: 54

Rep: Reputation: 15
a few

there are a bunch of places and they vary a little from distro to distro.

"/etc/rc.local"

Script locations for the different run levels vary
"/etc/rc.d/rc3.d" for example is runlevel 3

then there are scripts for when users login like

Bash runs /etc/profile if it exists
Bash runs $HOME/.bash_profile
The $HOME/.bash_profile script runs the $HOME/.bashrc script
The $HOME/.bashrc script runs /etc/bashrc

There are more but that should get you started.
 
Old 08-30-2004, 09:34 PM   #4
heluani
LQ Newbie
 
Registered: Aug 2004
Distribution: Fedora Core 2
Posts: 16

Rep: Reputation: 0
Maybe what you were looking for is something more "windows looking"? In that case it is highly probable that you have installed an application like

/usr/bin/system-config-services

if you're running on Fedora or RedHat. Otherwise just send us your distro.

R.
 
Old 08-30-2004, 11:39 PM   #5
guitarman85281
Member
 
Registered: Aug 2004
Location: Tempe, Arizona
Distribution: RedHat 9, SuSE 9.1, Fedora Core 4, Gentoo
Posts: 52

Rep: Reputation: 15
Hey
I'm thinking chkconfig is probably a good bet. It'll list each service and which runlevel the service is on at. use "chkconfig --list |less" to see the list of which services are on at bootup.
ntsysv will display which services will startup in YOUR CURRENT RUNLEVEL. switch runlevels to see which services startup in that runlevel. ntsysv is a graphical (sort of) display so it's a tad easier than chkconfig.
 
  


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
Remove useless services / apps BeaverusIV Linux - General 6 08-22-2005 09:24 PM
remove services alaios Debian 3 01-10-2005 10:28 PM
how to remove linux Services?? Ameii83 Linux - Software 5 12-28-2004 09:17 PM
Which services to run and which to remove on a server? emilioestevezz Linux - Networking 1 09-16-2004 01:15 PM
How can i remove these services? Kinstonian Linux - General 2 04-15-2003 11:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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