Unix Technical Forum

Selecting services

This is a discussion on Selecting services within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> During the installation of Slackware 10.0, I remember a part where you select which services should be started at ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 06:38 AM
John Phillips
 
Posts: n/a
Default Selecting services

During the installation of Slackware 10.0, I remember a part where
you select which services should be started at bootup (mysql,
sendmail, syslog etc.)

Can this part of setup be run independently like, say, xwmconfig? If so,
what's the name of the program?

TIA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 06:38 AM
Mr. Boy
 
Posts: n/a
Default Re: Selecting services

John, nice question!

there is a way to achieve this on any version of slackware ...

login as root, then go to /etc/rc.d/

list the contents of the directory as: ls -l

you will see which services are being started at boottime, how? see the
green ones, those scripts with executable bit on (rwxr-xr-x) all those
x means that the file has executable properties, if you change this to
non executable the script is not run at startup then the service won't
be available...

The same theory works otherwise, the files that has (rwxr--r--) are
readable but not executable...

So to select which services do you want to run at
boottime just add executable permission to the script with the service
name..

Example:

-rw-r--r-- rc.samba
-rwxr-xr-x rc.sendmail*
-rwxr-xr-x rc.sshd*

i have sendmail & secure shell daemon starting at boot time, but samba
is not...

Well i do this:
root@server:/etc/rc.d# chmod 755 rc.samba
<enter>
after doing ls -l again:

-rwxr-xr-x rc.samba*
-rwxr-xr-x rc.sendmail*
-rwxr-xr-x rc.sshd*

see? now samba is going to start automatically at boot time... also
note that little asterisk next to the name of file (that is a visual
help telling you that the file is excutable)..

This a little way around your situation, hope this helps a little, and
good luck

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 06:38 AM
Thomas Overgaard
 
Posts: n/a
Default Re: Selecting services


John Phillips wrote :
>
> Can this part of setup be run independently like, say, xwmconfig? If so,
> what's the name of the program?


As root run 'pkgtool' and choose "Setup", now you can scroll down to
"Services" and here you'll find the possibility to stop/start services.
..--
Thomas O.

This area is designed to become quite warm during normal operation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 06:39 AM
Mateusz Marzantowicz
 
Posts: n/a
Default Re: Selecting services

On Thu, 03 Mar 2005 15:52:45 +0000, John Phillips wrote:

> During the installation of Slackware 10.0, I remember a part where
> you select which services should be started at bootup (mysql,
> sendmail, syslog etc.)
>
> Can this part of setup be run independently like, say, xwmconfig? If so,
> what's the name of the program?
>
> TIA


try /var/log/setup/setup.services

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 06:39 AM
Glyn Millington
 
Posts: n/a
Default Re: Selecting services

John Phillips <jp@nospam.com> writes:

> During the installation of Slackware 10.0, I remember a part where
> you select which services should be started at bootup (mysql,
> sendmail, syslog etc.)
>
> Can this part of setup be run independently like, say, xwmconfig? If so,
> what's the name of the program?


Hi John

In a terminal, as root, run

#pkgtool

that will give you a menu

select "setup" and there you are

hth





Glyn
--
RTFM http://www.tldp.org/index.html
GAFC http://slackbook.lizella.net/
STFW http://groups.google.com/groups?hl=e...inux.slackware
JFGI http://jfgi.us/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:39 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com