How to Get Samba Started



How to Get Samba Started

You can configure Samba to start at boot time using the chkconfig command:

     [root@bigboy tmp]# chkconfig smb on

You can start, stop, and restart Samba after boot time using the smb initialization script as in the examples below:

     [root@bigboy tmp]# service smb start
     [root@bigboy tmp]# service smb stop
     [root@bigboy tmp]# service smb restart

Note

Unlike many Linux packages, Samba does not need to be restarted after changes have been made to its configuration file, as it is read after the receipt of every client request.


You can test whether the smb process is running with the pgrep command; you should get a response of plain old process ID numbers:

     [root@bigboy tmp]# pgrep smb