主页 » 服务器管理 » Linux下的网上邻居——Samba的设置

Linux下的网上邻居——Samba的设置

2009-04-10添加留言

参考 http://doc.chinahtml.com/manual/rhl-cg-zh_cn-9/s1-samba-configuring.html
我的环境是SUSE10.0,参考文档的是RedHat9,两者的操作一致。

设置samba,文件在 /etc/samba/smb.conf

[global]段添加这几行,用户在Windows下直接使用root管理Linux共享文件(危险!)
security=share
guestok=yes
guestaccount=root

共享文件夹给Windows,命名为MyShare
[MyShare]
comment = My Linux Share Folder
path = /usr/local/shared
read only = No
inherit acls = Yes
create mask = 0777
veto files = /aquota.user/groups/shares/

重新启动Samba服务
/sbin/service smb stop
/sbin/service smb start

/sbin/service smb status #查询

No related posts.

以上关联文章由 Yet Another Related Posts Plugin 提供支持。

相关文章

发表评论