全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:3343
推到 Plurk!
推到 Facebook!

FC6下啟動samba,但windows 這邊看到的有問題

尚未結案
noah_J
一般會員


發表:10
回覆:10
積分:4
註冊:2006-10-18

發送簡訊給我
#1 引用回覆 回覆 發表時間:2007-05-30 13:31:54 IP:61.222.xxx.xxx 訂閱
各位大大,我照書上說的先去安裝了samba的套件,用yum安裝   yum install samba*  
裝完後,我有去設定smb.conf, security= share ,分享了幾個目錄,
有tmp 及 home
但發生一個問題,就是雖然windows這邊看的到tmp及home,但tmp 可以進去,home卻不能,有大大知道問題在那裡嗎? 以下為我的smb.conf的部份設定參數

[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes

[jimmy]
comment = home directory
path =/home
public = no
guest ok = yes
writable = yes
browseable = yes
create mode = 0765
directory mode = 777

煩請指教一下了~謝謝~

編輯記錄
taishyang 重新編輯於 2007-05-30 13:33:30, 註解 將文章分類成[問題]‧
Randgris
一般會員


發表:20
回覆:30
積分:10
註冊:2007-04-15

發送簡訊給我
#2 引用回覆 回覆 發表時間:2007-06-06 12:35:52 IP:122.124.xxx.xxx 未訂閱
/etc/selinux底下的 config裡SELINUX=disabled
===================引 用 noah_J 文 章===================
各位大大,我照書上說的先去安裝了samba的套件,用yum安裝?? yum install samba*??
裝完後,我有去設定smb.conf, security= share ,分享了幾個目錄,
有tmp 及 home
但發生一個問題,就是雖然windows這邊看的到tmp及home,但tmp 可以進去,home卻不能,有大大知道問題在那裡嗎? 以下為我的smb.conf的部份設定參數

[tmp]
?? comment = Temporary file space
?? path = /tmp
?? read only = no
?? public = yes

[jimmy]
?? comment = home directory
?? path =/home
???public = no
?? guest ok = yes
??? writable = yes
?? browseable = yes
???create mode = 0765
?? directory mode = 777

煩請指教一下了~謝謝~

noah_J
一般會員


發表:10
回覆:10
積分:4
註冊:2006-10-18

發送簡訊給我
#3 引用回覆 回覆 發表時間:2007-06-07 10:29:50 IP:61.222.xxx.xxx 訂閱
我改了SELINUX=disabled後,就無法開機了耶
請問這是怎麼回事呢???

開機訊息如下:

Uncompressing Linux... OK, booting the kernel.
ACPI:Unable to locate RSOP
Red Hat nash version 5.1.19 starting
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
2 logical volume(s) in volume group "VolGroup00" now active
Unable to load SELinux Policy. Machine is in enforcing mode. Halting now.
Kernel panic - not syncing : Attempted to kill init!
Randgris
一般會員


發表:20
回覆:30
積分:10
註冊:2007-04-15

發送簡訊給我
#4 引用回覆 回覆 發表時間:2007-06-07 17:10:19 IP:122.124.xxx.xxx 未訂閱
你只有改SELINUX=disabled嗎? 那是跟安全性有關 跟重開機能不能用應該沒有關係才對

你有更新套件嗎?

http://linux.vbird.org/linux_server/0240network-secure-1.php
===================引 用 noah_J 文 章===================
我改了SELINUX=disabled後,就無法開機了耶
請問這是怎麼回事呢???

開機訊息如下:

Uncompressing Linux... OK,?? booting the kernel.
ACPI:Unable to locate RSOP
Red Hat nash version 5.1.19 starting
???????? Reading all physical volumes.? This may take a while...
???????? Found volume group "VolGroup00" using metadata type lvm2
???????? 2 logical volume(s) in volume group "VolGroup00" now active
Unable to load SELinux Policy. Machine is in enforcing mode. Halting now.
Kernel panic - not syncing : Attempted to kill init!
編輯記錄
Randgris 重新編輯於 2007-06-07 17:11:31, 註解 無‧
wei7278
一般會員


發表:16
回覆:19
積分:12
註冊:2004-09-25

發送簡訊給我
#5 引用回覆 回覆 發表時間:2007-06-18 09:08:17 IP:218.167.xxx.xxx 訂閱
我想會不會是你本身/home的權限沒設好
noah_J
一般會員


發表:10
回覆:10
積分:4
註冊:2006-10-18

發送簡訊給我
#6 引用回覆 回覆 發表時間:2007-06-18 09:56:02 IP:61.222.xxx.xxx 訂閱
我試出來了,我重灌後,有去把SELINUX=disabled了,
後來就可以了,原來問題出在SELINUX,上次或許是我打錯了吧~~

謝謝各位大大喔!
系統時間:2024-05-04 8:26:43
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!