LinuxQuestions.org
Review your favorite Linux distribution.
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 05-17-2004, 11:34 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
startup files or scripts


Which files do I modify to start and stop services and programs starting up at boot?
Thanks
 
Old 05-17-2004, 11:44 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
In Slack? /etc/rc.d/foo. Like if you don't want sendmail, remove the executable bit from rc.sendmail - if you want more detailed items, comment them out in the relevant runlevel, like rc.M.
 
Old 05-18-2004, 01:24 AM   #3
major.tom
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Slackware (current); Gentoo (newbie)
Posts: 142

Rep: Reputation: 15
There are more in /etc/services

Just comment out the lines for the ones you don't need. (eg. ftp)

Garry
 
Old 05-19-2004, 07:44 PM   #4
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
What do you mean remove the executable bit?
How do I do that, Can I just move the file to trash?
Thanks.

Last edited by BajaNick; 05-19-2004 at 07:50 PM.
 
Old 05-19-2004, 07:57 PM   #5
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 30
I wouldn't delete them, just in case you want to use them in the future - better off to chmod a-x filename them. The files are owned by root so you shouldn't even be able to move them to the trash, if you can then you shouldn't be running X as root.
 
Old 05-20-2004, 12:21 AM   #6
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 33
I agree, don't delete them................And what Kovacs means by removing the executable bit (the x bit) is to remove the file permission that makes a file executable (ie., allowing you to run the program or script).........all those files in /etc/rc.d are scripts. Without the x bit being set, scripts or programs cannot run...............When Slackware boots up, it checks to see if those startup scripts are executable or not and acts accordingly......

There's a very good mini tutorial in LQ by bulliver which should help clarify things a little about file permissions:

Quick and Dirty Guide to Linux File Permissions
 
Old 05-20-2004, 12:40 AM   #7
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Ok, cool. Thanks
 
Old 05-23-2004, 07:43 PM   #8
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Quote:
Originally posted by digiot
In Slack? /etc/rc.d/foo. Like if you don't want sendmail, remove the executable bit from rc.sendmail
Is foo an example or something?, I cannot find it in slack, also, do I absolutly need sendmail since I use yahoo email?
Thanks
 
Old 05-23-2004, 07:54 PM   #9
tank728
Member
 
Registered: Sep 2003
Posts: 142

Rep: Reputation: 16
No you do not need sendmail to startup, because with yahoo you have to access your mail through the web, not through a e-mail client such as: thunderbird, evolution, kmail. You could also use pkgtool to remove the executable bit from your startup scripts, if your not that comfortable with command line.

-tank
 
Old 05-23-2004, 07:56 PM   #10
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Cool, Thats what I thought but I was not completely sure. Thanks..
 
Old 05-25-2004, 01:12 AM   #11
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 33
Quote:
Originally posted by BajaNick
Is foo an example or something?, I cannot find it in slack...
Yes, "foobar", "foo' and "bar" are often used as examples..............
 
  


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
Config files, X issue, startup scripts... please help! shashir Slackware 4 08-05-2005 04:12 PM
startup scripts... ValidiusMaximus Linux - Software 8 01-11-2005 05:55 PM
startup scripts amphion Linux - Newbie 8 03-28-2003 01:39 PM
RH7.3 startup files/scripts minor Linux - Distributions 2 10-16-2002 08:40 AM
X Startup Scripts JHuizingh Linux - General 1 09-18-2001 01:02 PM


All times are GMT -5. The time now is 09:21 PM.

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