歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> Linux教程

Fedora 18下超簡單的samba初級配置實例

在Fedora 18 Desktop 上測試成功, 步驟如下:
 
yum install samba*
 
useradd smbusr
 passwd smbusr
 smbpasswd -a smbusr
 
vi /etc/smb.conf
 [global]
        workgroup = MYGROUP
        server string = Samba Server Version %v
        log file = /var/log/samba/log.%m
        max log size = 50
        load printers = No
        idmap config * : backend = tdb
        cups options = raw
 
[homes]
        comment = Home Directories
        read only = No
        browseable = No
 
[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        print ok = Yes
        browseable = No
 
[public]
        comment = Public Stuff
        path = /plans
        write list = +smbusr
        read only = No
        guest ok = Yes
 
-- disable SE
 sestatus
 setenforce 0 #permissive   
   
service smb restart

enjoy!

Copyright © Linux教程網 All Rights Reserved