The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to change the boot sequence? wrapster SUN Solaris 5 02-17-2008 04:10 AM
linux 2.4 boot up sequence Franco Linux 7 01-30-2008 01:53 PM
Wierd boot-up sequence nitinp82 UNIX for Dummies Questions & Answers 1 02-01-2007 04:40 PM
Script in boot sequence delphine UNIX for Dummies Questions & Answers 1 01-25-2006 12:20 PM
Boot Sequence delphine UNIX for Dummies Questions & Answers 3 01-25-2006 11:08 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-26-2002
sajjan2 sajjan2 is offline
Registered User
  
 

Join Date: Mar 2002
Posts: 24
Unix Boot Sequence

Hello all Unix fans.

What files are involved in the Unix boot sequence,
i guess there is alot of them but some must be the main files?

For example the service SENDMAIL starts on our Unix machine
where should i edit so that it will not start at BOOT.
initd.conf? rc2.d?

I hope you understand my question and i know this is really basic but i hope you have time to help me out.

/Nick
  #2 (permalink)  
Old 09-26-2002
hassan2 hassan2 is offline Forum Advisor  
Registered User
  
 

Join Date: Mar 2002
Location: London, England
Posts: 262
To disable sendmail so that it does not start at bootup,

rename /etc/rc2.d/S88sendmail to

/etc/rc2.d/s88sendmail_disable

this will prevent sendmail from start at bootup

Note
/etc/rc2.d/s88sendmail_disable

s88sendmail_disable is all lower case, it most be
lower case to disable sendmail or any other daemon
in rc
  #3 (permalink)  
Old 09-26-2002
eNTer eNTer is offline
Registered User
  
 

Join Date: Oct 2001
Location: Romania
Posts: 47
System startup

you might want to take a look here: http://userpages.umbc.edu/~jack/ifsm...ulti-user.html
best regards, eNTer
  #4 (permalink)  
Old 09-26-2002
LivinFree's Avatar
LivinFree LivinFree is offline Forum Advisor  
Goober Extraordinaire
  
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
This also depends very much on which Unix variant you are using. On a Linux system, it also depends on your distribution! For example, HP-UX 9, HP-UX 10.20, Slackware Linux, Redhat Linux all have their own quirks... The two HP-UX variants do it differently (changed in version), and the Linux variants do it differently (one uses a more BSD rc and the other uses SYSV style...).

So... The whole point of this is to please post all you can about your system!
  #5 (permalink)  
Old 10-02-2002
Brett Brett is offline
Registered User
  
 

Join Date: Sep 2002
Location: Hitchin, England
Posts: 7
.... for Solaris

All scripts and links are executed from the /etc/rc[n].d/ directories. Many of these may be files located in these locations or links to files or scripts in /etc/init.d/. Usually you can stop and start any service (if the script allows) by issuing a request from the command line.

# /etc/rc2.d/S80sshd stop

... as an example, to stop the SSH daemon.

If the file begins with an 'S' then it is utilised when the system comes up, if it starts with a 'K' it stops processes when the system goes down.

We disable these scripts by renaming them with lowercase 's' and 'k' - this way they are never run whenthe machine comes up.

Hope this helps
  #6 (permalink)  
Old 10-02-2002
WIntellect's Avatar
WIntellect WIntellect is offline
Registered User
  
 

Join Date: Sep 2002
Location: United Kingdom
Posts: 170
On FreeBSD,

you can edit the /etc/rc.conf to stop sendmail, like so:

sendmail_enable="NONE"

As already said, it depends upon which version of Unix you are using
  #7 (permalink)  
Old 10-09-2002
biker biker is offline
Registered User
  
 

Join Date: Sep 2002
Location: Austin, TX
Posts: 41
sajjan2,

Here's a decent overview of the startup sequence:

http://docs.rinet.ru:8080/UNIXs/ch16.htm


Biker
Systems/Network Administrator
LiveFire Labs - Hands-On Technical e-Learning
www.LiveFireLabs.com
Closed Thread

Bookmarks

Tags
linux, sendmail

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0