Skip to contentSkip to conversation

Redhat 7.3 Samba Start at startup

DISCUSSION Paul Kraus 3 participants 3 messages Mar 3, 2003

lore
Share & tools
lore
#1 lore raw

Hello Paul , Try 'man chkconfig' , Then 'chkconfig samba'
Hth , JimL

Quoted 3 lines · Paul Kraus

How can I set samba to start when the server starts.
Every time I reboot the machine I have su, /sbin/service smb restart. Paul Kraus

Signature · 10 lines
       +------------------------------------------------------------------+
       | James   W.   Laferriere | System    Techniques | Give me VMS     |
       | Network        Engineer |     P.O. Box 854     |  Give me Linux  |
       | [email protected] | Coudersport PA 16915 |   only  on  AXP |
       +------------------------------------------------------------------+
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#2 lore raw
In reply to Paul Kraus
Quoted 10 lines · Paul Kraus

How can I set samba to start when the server starts.
Every time I reboot the machine I have su, /sbin/service smb restart.

Paul Kraus

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Paul,

use the command "chkconfig" as root

For samba it would be:

        chkconfig --level 2345 smb on

Where "2345" are the run-levels you want it to start in, "on" is to set it to start at entry to the run level. "off" would be to turn it off.

You can check what gets started in each runlevel with:

        chkconfig --list

See "man chkconfig" for full details.

Regards
Carl
--

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs