Samba

UBUNTU 12.04 中的 smbd 系統連結在哪裡?

  • December 11, 2014

在 UBUNTU 12.04 上安裝 Samba 後,我檢查了系統連結執行級別目錄,但無法找到 smbd 連結。這很有趣,因為 smbd 會在重新啟動時自動啟動。

這是我的 rc 目錄的 ls :

secadmin@SAM:~$ ls /etc/rc*
/etc/rc.local

/etc/rc0.d:
K20firewall    K20libnss-ldap  K20testscript  K20watchdog     K21postgresql  README       S30urandom       S35networking  S60umountroot
K20freeradius  K20sam          K20updater     K20watchdogdev  K80slapd       S20sendsigs  S31umountnfs.sh  S40umountfs    S90halt

/etc/rc1.d:
K20firewall    K20libnss-ldap  K20testscript  K20watchdog     K21postgresql  K80slapd  S30killprocs  S70pppd-dns
K20freeradius  K20sam          K20updater     K20watchdogdev  K77ntp         README    S70dns-clean  S90single

/etc/rc2.d:
README         S19slapd     S20freeradius   S20sam         S20updater   S20watchdogdev  S50rsync      S70pppd-dns  S99grub-common  S99rc.local
S19postgresql  S20firewall  S20libnss-ldap  S20testscript  S20watchdog  S23ntp          S70dns-clean  S75sudo      S99ondemand

/etc/rc3.d:
README         S19slapd     S20freeradius   S20sam         S20updater   S20watchdogdev  S50rsync      S70pppd-dns  S99grub-common  S99rc.local
S19postgresql  S20firewall  S20libnss-ldap  S20testscript  S20watchdog  S23ntp          S70dns-clean  S75sudo      S99ondemand

/etc/rc4.d:
README         S19slapd     S20freeradius   S20sam         S20updater   S20watchdogdev  S50rsync      S70pppd-dns  S99grub-common  S99rc.local
S19postgresql  S20firewall  S20libnss-ldap  S20testscript  S20watchdog  S23ntp          S70dns-clean  S75sudo      S99ondemand

/etc/rc5.d:
README         S19slapd     S20freeradius   S20sam         S20updater   S20watchdogdev  S50rsync      S70pppd-dns  S99grub-common  S99rc.local
S19postgresql  S20firewall  S20libnss-ldap  S20testscript  S20watchdog  S23ntp          S70dns-clean  S75sudo      S99ondemand

/etc/rc6.d:
K20firewall    K20libnss-ldap  K20testscript  K20watchdog     K21postgresql  README       S30urandom       S35networking  S60umountroot
K20freeradius  K20sam          K20updater     K20watchdogdev  K80slapd       S20sendsigs  S31umountnfs.sh  S40umountfs    S90reboot

/etc/rcS.d:
README  S37apparmor  S55urandom

在網上做了一些研究後,我發現通常連結必須在 rc 目錄中。誰能告訴我他們在哪裡?

它現在是一個新貴的工作。查看 /etc/init/smbd.conf 中的所有資訊。

引用自:https://serverfault.com/questions/650261