Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual page 275

Table of Contents

Advertisement

To start a Samba server, type the following command in a shell prompt while logged in as root:
/sbin/service smb start
Important
To set up a domain member server, you must first join the domain or Active
Directory using the
To stop the server, type the following command in a shell prompt while logged in as root:
/sbin/service smb stop
The
option is a quick way of stopping and then starting Samba. This is the most
restart
reliable way to make configuration changes take effect after editing the configuration file for
Samba. Note that the restart option starts the daemon even if it was not running originally.
To restart the server, type the following command in a shell prompt while logged in as root:
/sbin/service smb restart
The
(conditional restart) option only starts
condrestart
running. This option is useful for scripts, because it does not start the daemon if it is not running.
Note
When the
minutes. Issuing a manual
To conditionally restart the server, type the following command as root:
/sbin/service smb condrestart
A manual reload of the
service. To ensure that the Samba server configuration file is reloaded without restarting
smb
the service, type the following command as root:
/sbin/service smb reload
command before starting the
net join
file is changed, Samba automatically reloads it after a few
smb.conf
restart
file can be useful in case of a failed automatic reload by the
smb.conf
Starting and Stopping Samba
on the condition that it is currently
smb
or
is just as affective.
reload
service.
smb
251

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 4.5.0 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents