雖然共享檔案裡的(everyone)使用者 是設定無存取權限,
但是其他使用者還是可以 使用網路共享裡的檔案
首先我們開啟一個終端機,然後sudo vi /etc/smb.conf
往下找到
; Configure usershares for use by the synchronize-shares tool.
usershare max shares = 1000
usershare path = /var/samba/shares
usershare owner only = yes
usershare allow guests = yes <----改成 no 就好了
usershare allow full config = yes
打 :wq! 儲存跳出



------------------------------------------------------------
設定共享檔案 smb, 在 window 卻不用登入就可以看到檔案
(可是我要登入選項阿 ,不想別人的電腦看到我的檔案阿)
Mac mini OS X 10.5.8
在供享下面也只有“共享檔案“ 有勾
檔案供享“ 只有選smb其他的沒選
Window XP
在沒mac更新前(10.5.4) , window每次開機後都需要登入才看得到mac上的檔案
更新後10.5.8 就沒了, 我是過其他的window電腦也是一樣的情形 不用登入就可以看到檔案
有大大知道為甚麼嗎?
謝謝




























































































