Why won't smbd and nmbd start automatically on system start?

Joe Zeff joe at zeff.us
Wed Jun 18 16:59:40 UTC 2014


On 06/18/2014 05:29 AM, Temlakos wrote:
> Today I can get samba running on both machines. But: I have to execute
> two commands:
>
> $ sudo /sbin/smbd -D
> $ sudo /sbin/nmbd -D
>
> by hand, in a terminal (Konsole), every time I start or restart either
> computer.
>
> The system-config-services app fails to note that smbd or nmbd are even
> available for starting.
>
> How do I get those two daemons to start automatically, so that I don't
> have to type those two commands every time? Because until I do, I have
> no file-sharing capability.

Put the two commands in a shell script, without sudo, and call them from 
/etc/rc.local.



More information about the users mailing list