How do I disable smbd service?
I tried disabling 'Personal File Sharing' from 'Startup Applications' from the 'Control Panel', but after reboot, the service is still listening on ipv6 ports 139/445.
Disable samba service [SOLVED]
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Disable samba service [SOLVED]
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Disable samba service
'Personal File Sharing' is not samba. It's a baby apache file server that uses avahi to broadcasts it's one available share.
This will stop the samba service if it's running:
This will stop the samba service if it's running:
Code: Select all
sudo service smbd stop
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Disable samba service
altair4 wrote:'Personal File Sharing' is not samba. It's a baby apache file server that uses avahi to broadcasts it's one available share.
This will stop the samba service if it's running:Code: Select all
sudo service smbd stop
Thanks. How do I go about disabling the service so it wont restart on reboot?
Re: Disable samba service
I should have realized that was your intended goal from your post. Sorry about that.Thanks. How do I go about disabling the service so it wont restart on reboot?
I was going to suggest commenting out the "start on" line in /etc/init/smbd.conf but removing the execute bit is brilliant.Remove its execute permission in /etc/init.d
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Disable samba service
altair4 wrote:I should have realized that was your intended goal from your post. Sorry about that.Thanks. How do I go about disabling the service so it wont restart on reboot?I was going to suggest commenting out the "start on" line in /etc/init/smbd.conf but removing the execute bit is brilliant.Remove its execute permission in /etc/init.d
I decided to comment out the "start on" line in '/etc/init/smbd.conf' which worked a treat. I may want to start samba service on a adhoc basis, so I feel removing the execute bit would be more hassle in the long run.
Thanks for all the help. Cheers!