看板 Linux 關於我們 聯絡資訊
大家好, 我的作業系統為 DSL 為了要開機啟動 ssh , 我在 /etc/init.d/rcS 最後面加入了 /etc/init.d/ssh restart 重新開機後有出現錯誤,甚至無法編輯rcS把我加入的那行刪掉, 不過再重新開機後就好了,可以開機啟動ssh。 想請問這樣的修改方式ok嗎? -- 我是麵T,哩賀 http://ppt.cc/-eS5 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.117.96.10
dearlove:啟動不是start嗎 為什麼要用restart? 08/06 13:43
codex:不是: # chkconfig sshd on 08/06 17:54
codex:就好? :) 08/06 17:54
tan2:應該是 /etc/init.d/sshd restart 才對 08/21 09:42