Simple samba initial configuration instance under Fedora18

Source: Internet
Author: User
The test is successful on Fedora18Desktop. The steps are as follows: yuminstallsamba * useraddsmbusrpasswdsmbusrsmbpasswd-asmbusrvi/etc/smb. conf [global] workgroup = MYG

The test is successful on Fedora 18 Desktop. The steps are as follows:
 
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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.