para el samba y parar e iniciar procesos en snow lepard:
Stop or start daemons in MacOS Snow Leopoard is very easy running System Preferences pannel and select Sharing, you will find all the sharing applications (or daemons/agents) like SAMBA, FTP, SSH, etc, but, what about start or stop them using the console…
Here is how to do it.
You have two options, one deprecated and other more modern:
# service --list
to list the available services to work with.
but you will receive this message requesting you to use launchctl.
service: This command still works, but it is deprecated. Please use launchctl(8) instead.
So, begin using launchctl:
To list the available resources:
# launchctl list
To load or unload a specific daemons:
# launchctl stop com.apple.smb.sharepoints # launchctl start com.apple.smb.sharepoints # launchctl stop com.apple.smb.server.preferences # launchctl start com.apple.smb.server.preferences