Linux Samba simplest settings

Source: Internet
Author: User
1. install samba: sudoapt-getinstallsamba2, open the firewall (if UFW is started): sudoufwallow1371381394453, configure sudovi/etc/samba/smb. conf is configured to allow each user to access their HOME directory: query...
1. install samba: sudo apt-get install samba
2. open the firewall (if UFW is started): sudo ufw allow 137 138 139
3. configure sudo vi/etc/samba/smb. conf
I want to configure it to allow each user to access their HOME directory: find the home segment and remove the following comments: [homes] www.2cto.com comment = Home Directories browseable = yes # Change to yes here, read only = no create mask = 0700 directory mask = 0700. In addition, security = user 4. modify the user password sudo smbpasswd-a yulk.
5. restart the samba service: www.2cto.com yulk ~ % Sudo service smbd restartsmbd start/running, process 5201yulk ~ % Sudo service nmbd restartnmbd start/running, process 5216
6. access: windows key + R input: \ 54.1.48.154 \ yulk press the prompt to enter the user, password author Yu head run fast
Related Article

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.