Use Samba to implement Windows/Mac access to Linux

Source: Internet
Author: User
1 Public Access 1.1 install Sambasudoapt-getinstallsambasudoapt-getinstallsmbfs1.2 create shared directory sudomkdir/home/michael/sharesudochmod777/home/michael/cmd1.3 modify Samba configuration sud... 1 Public Access 1.1 install Sambasudo apt-get install sambasudo apt-get install smbfs 1.2 create a shared directory sudo mkdir/home/michael/sharesudo chmod 777/home/michael/share 1.3 modify Samba configuration sudo vim/etc/samba/smb. replace "; security = user" with "security = share" at the end of the configuration file: [Ubu Ntu] path =/home/michael/sharepublic = yeswritable = yes 1.4 restart Samba service sudo/etc/init. d/samba restart 1.6 Win7 ACCESS Linux through Samba select ING network drive on my computer, www.linuxidc.com and enter: \ 172.16.44.175 \ Ubuntu 1.7 Mac accesses the path on the menu of Linux in Finder through Samba, connects to the server, and then enters: smb: // 172.16.44.175 2 user access 2.1 access control security = user 2.2 shared directory comment = effectupath =/home/michael/Developmentpublic = yeswritable = yesvalid user = michael 2. 3. set the user. if there is no michael user in the system, create sudo adduser michael. after the system has a michael user, set the password: sudo smbpasswd-a michael 2.4 Win7 uses Samba to ACCESS Linux in the same way as 1.6. However, select "other identity creden。" and enter the user name and password set above. 2.5 Mac accesses Linux through Samba, which is the same as 1.7. However, enter the user name and password. Author: Liu Da-Poechant
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.