LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-22-2009, 07:13 AM   #1
Danzille
LQ Newbie
 
Registered: Nov 2009
Distribution: Slackware 13.0 32-bit
Posts: 21

Rep: Reputation: 15
How we can turn off/on services in Slackware?


Recently I've migrate from Mandrake-like distro to Slackware12. In systemV distroes it`s very easy to control startup services. Who can tell more easy way to manage services in "ntsysv style", without editing script in rc.d ?
 
Old 12-22-2009, 07:17 AM   #2
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,019

Rep: Reputation: 63
Quote:
Originally Posted by Danzille View Post
Recently I've migrate from Mandrake-like distro to Slackware12. In systemV distroes it`s very easy to control startup services. Who can tell more easy way to manage services in "ntsysv style", without editing script in rc.d ?
http://www.linuxquestions.org/questi...ervices-30203/
 
Old 12-22-2009, 07:21 AM   #3
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
Run pkgtool then choose "Setup" then "Services"

Or you can just manually chmod + or - the various /etc/rc.d/rc.* scripts.

e.g
Code:
chmod +x /etc/rc.d/rc.httpd
will set the httpd server to start at boot time.
Code:
chmod -x /etc/rc.d/rc.httpd
will stop the httpd server from starting at boot time.
 
Old 12-22-2009, 07:22 AM   #4
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
List services:

Code:
ls /etc/rc.d/
Off:

Code:
chmod -x /etc/rc.d/rc.servicename
On:

Code:
chmod +x /etc/rc.d/rc.servicename
EDIT: Damn, too late
 
Old 12-22-2009, 12:53 PM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
Recently I've migrate from Mandrake-like distro to Slackware12. In systemV distroes it`s very easy to control startup services. Who can tell more easy way to manage services in "ntsysv style", without editing script in rc.d ?
Coming from a Mandrake-like environment, you probably are looking for a graphical point-and-click interface to control services. With the stock Slackware there is no such graphical interface for controlling services.

As mentioned by mRgOBLIN, there is the pkgtool/setup/services option. That option requires a console or terminal. The pkgtool utility is ncurses, not exactly a graphical interface as many people use the phrase.

The normal option used by most Slackers is the command line and the chmod command. Not glamorous but effective.
 
Old 12-22-2009, 03:48 PM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
If you ever chkconfig in Redhat well I made a curses script that is similar. It could still do with a lot of refining but have a look and see what you think:

http://www.unrealize.co.uk/scripts/bash/chkservice
 
Old 12-22-2009, 05:47 PM   #7
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,163

Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
Quote:
Originally Posted by Woodsman View Post
The normal option used by most Slackers is the command line and the chmod command. Not glamorous but effective.
I wouldn't have it any other way!
I appreciate the fact that all system commands in Slackware can be configured via a shell prompt and/or a text editor.
I think it will be the sign of an impending apocalypse if Slackware ships with GUIs.
 
Old 12-22-2009, 10:46 PM   #8
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
To Danzille:

If you want a graphical tool for controlling rc.d startup scripts, you can use the Salix tools package, which is backwards compatible with Slackware 13.

I just installed Salix to a virtual machine and took a quick look at the tools. I think this is what you are looking for.
 
Old 12-23-2009, 03:36 AM   #9
Danzille
LQ Newbie
 
Registered: Nov 2009
Distribution: Slackware 13.0 32-bit
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks a lot!
1st of all I'll try Salix tools. I don't use GUI configuration tools - in Mandrake-like distroes there was ntsysv utility. Working fine at console. So, smth written with ncurses will fit. I am afraid to corrupt rc.d scripts while editing them manually.
Also, what kind of automounter and modules managing tool works good with Slackware?
After kernel compilation I have light kernel (1.4Mb against 4+ Mb standart one) but have to compile some components as modules. Ex. iso9660 and udf. So, before mounting cdrom/dvd as a user, I have to "modprobe iso9660" at root console.
 
Old 12-23-2009, 04:17 AM   #10
gapan
Member
 
Registered: Feb 2007
Posts: 343

Rep: Reputation: 105Reputation: 105
The salixtools work with Xdialog or dialog. So if you don't have Xdialog installed, you won't get a GUI, but an ncurses-like interface with exactly the same options.
 
  


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
Which Of These Services Can I Safely Turn Off? taurusx5 Linux - Software 17 10-05-2008 02:35 PM
Which Of These Services Can I Safely Turn Off? taurusx5 Linux - Software 4 09-30-2008 01:10 PM
How Do I Turn Services Off? taurusx5 Linux - Software 15 09-06-2008 12:35 AM
How Do I Turn Off Services In sysv-rc-conf ? taurusx5 Linux - Software 1 09-02-2008 11:50 AM
how to turn off services SpiderIRE Linux - Newbie 2 04-30-2006 05:35 PM


All times are GMT -5. The time now is 11:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration