On Jo, 16 mai 13, 16:39:07, abdelkader belahcene wrote: > *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)
Not necessarily. Without looking into it I would guess that samba is started in runlevel 1, because it can be used to mount remote shares that users might need on login. According to 'apt-file search samba | grep init.d' the initscript is /etc/init.d/samba. 'service samba stop' should stop the daemon and 'update-rc.d samba disable' should prevent it from starting at boot. Of course, this assumes you still want to keep samba installed. Purging the package should take care of everything. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
signature.asc
Description: Digital signature