Starting Samba on the Start-UP??

Martin Pool mbp at samba.org
Sun Nov 18 19:34:03 GMT 2001


On 15 Nov 2001, Brice Verbit <brice.verbit at npcweb.com> wrote:
> Hello,
> 
> I am very new to the Redhat / Samba scene.  I need to have Samba startup
> automatically.  I am running RedHat 7.1.  Can anyone assist me with a script
> or advise?  I would appreciate it.

If you have installed Samba from the RedHat disk, then you will find a
script to start it in /etc/rc.d/init.d/samba, or something similar.
It could be called 'smb', dependning on the version.  You may also
need to start nmbd if that's not automatically installed.

If you're new to Linux it's probably best to begin with the
RedHat-packaged version, and then move to building from source if you
want cutting-edge features.

To start this by hand, you can do

 # /etc/rc.d/init.d/samba start

or I think

 # service samba start

To make it start automatically the best thing is to run the SysVinit
GUI configuration tool as root.  You should find this in the System
menu of your desktop manager.

-- 
Martin 




More information about the samba-technical mailing list