where is the init samba script
Hi,
I want to remove the samba server, I can't find the running script here is output of commands: # ls /etc/rc2.d K20speech-dispatcher S19cpufrequtils S30mdm S75sudo K23ntp S20hddtemp S50pulseaudio S99acpi-support K99ondemand S20kerneloops S50rsync S99grub-common README S20vsftpd S70dns-clean S99rc.local S05loadcpufreq S30lightdm S70pppd-dns ps aux | grep mb root 970 0.0 0.1 21424 3848 ? Ss May14 0:00 smbd -F root 993 0.0 0.0 21528 1356 ? S May14 0:00 smbd -F root 2067 0.0 0.1 13360 2152 ? Ss May14 0:33 nmbd -D the smbd and nmbd are running, where are the starting script, by default the init level is 2 ( so there should be in rc2.d) thanks for help regards Thanks a lot |
/etc/init.d/samba ?
But if you don't want it, then just remove the samba package Code:
# apt-get remove --purge samba |
Hi,
not sure what version of Debian you're running but on my 7.0 box it is /etc/rc2.d/S07samba. You should be able to use any of the standard tools to disable it. Eg Code:
rcconf --off samba Code:
grep -E 'smbd|nmbd' /etc/init.d/* |
All times are GMT -5. The time now is 12:15 AM. |