Start , Stop and Restart Samba
by Nirmala[ Edit ] 2010-01-17 11:54:04
Samba can be used to allow connectivity between Linux and Windows(95,98,NT,2000). Samba can be used to share printers, share directories, connect to an NT domain, and many other useful features.
Starting, Stopping, and Restarting Samba
| Runlevel Script | Optional Command |
Start Samba | /etc/rc.d/init.d/samba start | /usr/sbin/smbd -D and /usr/sbin/nmbd -D |
Stop Samba | /etc/rc.d/init.d/samba stop | killall -TERM smbd and killall -TERM nmbd |
Restart Samba | /etc/rc.d/init.d/samba restart | killall -HUP smbd and killall -HUP nmbd |