linux设立目录共享

linux设置目录共享

1 vi etc/samba/smb.conf 打开配置文档

2 在文档的最后加上共享的文档夹,下面是示例。(文档里有说明怎样加上共享文档夹)

[share]

comment = all for windows

path = /share

guest ok = yes

writeable = yes

share为共享目录 必须先创建好

3 重起samba服务

service smb restart

4 假如要共享目录随开机启动 则在命令行设置如下:

#chkconfig –level 5 smb on

开机启动共享服务存在安全性问题

关闭则使用

#chkconfig –level 5 smb off?

linux设立目录共享

相关文章:

你感兴趣的文章:

标签云: