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: [Ubuntu] 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 then enter \ 172.16.44.175 \ Ubuntu 1.7 Mac to access Linux in the Finder through Samba, select the path from the menu, connect to the server, and enter: 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 the system does not michael, create: After the sudo adduser michael system has a michael user, set the password: sudo smbpasswd-a michael 2.4 Win7 Linux access through Samba is the same 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