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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-25-2003, 01:21 PM
|
#1
|
LQ Newbie
Registered: Feb 2003
Posts: 9
Rep:
|
How to stop a service from starting in slack
I dont want all the crap that starts with the default install of slack to start. I dont need the SQL server or the httpd or such. Where do I edit which services start on boot and which ones dont?
|
|
|
02-25-2003, 02:06 PM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Either you can go through your init scripts (which are well documented so you can probably do that safely) or you can stop the processes one by one by looking at ps -aux and killing the pid.
Cool
|
|
|
02-25-2003, 02:41 PM
|
#3
|
LQ Newbie
Registered: Feb 2003
Posts: 9
Original Poster
Rep:
|
Quote:
Originally posted by MasterC
Either you can go through your init scripts (which are well documented so you can probably do that safely) or you can stop the processes one by one by looking at ps -aux and killing the pid.
Cool
|
And those are where? And how does one go about editing then? Using slackware with the full install remember. Not logged in as root right now, but as a default user.
|
|
|
02-25-2003, 07:32 PM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
You will need to be root when editing the files. They are in /etc/rc.d/
For the ones that are properly named, such as rc.sshd you can just remove the execute bit from the file:
chmod -x rc.xxx
where xxx is the rc file you don't want executed during startup. For ones that are enclosed inside a runlevel init script, you will actually need to edit the rc file itself, usually I use # (comments) to block out the things I don't want rather than deleting it. This way if I want it back later, or I screw up my commenting somehow, it's not too hard to bring my system back.
Cool
|
|
|
02-25-2003, 10:50 PM
|
#5
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Also you can eliminate some services from starting up in your /etc/inetd.conf file, like FTP, Telnet... etc.
|
|
|
All times are GMT -5. The time now is 11:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|